forked from leftypol/leftypol
check that uploads are WebM files
This commit is contained in:
parent
16adc1ff05
commit
84329fb6ff
2 changed files with 2 additions and 0 deletions
|
@ -107,6 +107,7 @@ function videoData($filename) {
|
|||
|
||||
try {
|
||||
$root = readMatroska($fileHandle);
|
||||
$data['container'] = $root->get('EBML')->get('DocType');
|
||||
|
||||
// Locate segment information and tracks
|
||||
$segment = $root->get('Segment');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue