no commit message

This commit is contained in:
niandeng
2022-03-01 13:59:01 +08:00
parent d36861a7b1
commit b00292a1fb
2 changed files with 2 additions and 8 deletions
+1 -7
View File
@@ -375,13 +375,7 @@
/*
* 如果video指向一个已存在的video标签对象,则直接调用该对象
*/
var suffix=vars['video'].toLowerCase();
suffix=suffix.substr(suffix.lastIndexOf('.')+1);
if(suffix.indexOf('?')>-1){
suffix=suffix.substr(0,suffix.indexOf('?'));
}
var suffixArr=['mp4','flv','m3u8','mov','webm','ogg','ts'];
if(valType(vars['video'])=='string' && (vars['video'].substr(0,1)=='.' || vars['video'].substr(0,1)=='#') && suffixArr.indexOf(suffix)==-1){
if(valType(vars['video'])=='string' && ((vars['video'].substr(0,1)=='.' && vars['video'].indexOf('/')==-1) || vars['video'].substr(0,1)=='#')){
video=$(vars['video']);
}
/*
+1 -1
View File
File diff suppressed because one or more lines are too long