check that uploads are WebM files
This commit is contained in:
1 parent
16adc1ff05
commit
84329fb6ff
2 files changed
+2
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user