Files
LarsandCursor 1fb48783bf
Deploy Test / test (push) Successful in 25s
Deploy Test / deploy (push) Successful in 27s
Spiele Filme in allen Playern über die gespeicherte Qualitätsleiter.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-16 21:48:33 +01:00

12 lines
201 B
PHP

<?php
namespace App\Domain\Media;
class FilmPlayback
{
public function mode(int $versionId): string
{
return MediaRendition::masterPath($versionId) !== null ? 'hls' : 'file';
}
}