Spiele Filme in allen Playern über die gespeicherte Qualitätsleiter.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
8e77defaca
commit
1fb48783bf
14 files changed
+202
-18
No files matched your search
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\Media;
|
||||
|
||||
class FilmPlayback
|
||||
{
|
||||
public function mode(int $versionId): string
|
||||
{
|
||||
return MediaRendition::masterPath($versionId) !== null ? 'hls' : 'file';
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user