heck yeah fallbacks working
This commit is contained in:
parent
02c01d60cf
commit
16420f12d4
4 changed files with 116 additions and 28 deletions
|
|
@ -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" );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue