heck yeah fallbacks working

This commit is contained in:
Brooke Vibber 2023-03-27 14:41:21 -07:00
commit 16420f12d4
4 changed files with 116 additions and 28 deletions

View file

@ -768,7 +768,7 @@ $target = 10;
$ext = substr( $filename, strrpos( $filename, '.' ) );
if ( $ext === '.mp3' ) {
$segments = extractMP3( $filename );
} elseif ( $ext === '.mp4' ) {
} elseif ( $ext === '.mp4' || $ext === '.mov' || $ext === '.3gp' ) {
$segments = extractFragmentedMP4( $filename );
} else {
die( "Unexpected file extension $ext\n" );