forked from hummypkg/webif
Prevent trying to Play a .hmt file
This commit is contained in:
parent
46e4bddd56
commit
bbd1c50b38
@ -826,6 +826,11 @@ function doplay(it)
|
||||
var fmts = "";
|
||||
var vc = ""
|
||||
var ff = $('#ffmpeg')[0];
|
||||
|
||||
if (file.match(/\.hmt$/i).length) {
|
||||
$(it).dialog('close');
|
||||
return;
|
||||
}
|
||||
|
||||
if (ff) {
|
||||
/* extract duration, container and video codec from ffmpeg output */
|
||||
|
Loading…
Reference in New Issue
Block a user