fix error

This commit is contained in:
chiu 2022-01-03 14:08:00 +00:00
parent 7ef3b1496c
commit ce3967f1ec
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@
if(current_cycle.hasClass("jplayer_slide")){ if(current_cycle.hasClass("jplayer_slide")){
var $video_ele = current_cycle.find('.jp-jplayer video'); var $video_ele = current_cycle.find('.jp-jplayer video');
if ($video_ele.length>0){ if ($video_ele.length>0){
$video_ele.eq(0).attr('autoplay','autoplay').attr('muted','muted').attr('playsinline',true); $video_ele.eq(0).attr('muted','muted').attr('autoplay','autoplay').attr('playsinline',true);
} }
current_cycle.find('.jp-jplayer').jPlayer("mute", true).jPlayer("play",0); current_cycle.find('.jp-jplayer').jPlayer("mute", true).jPlayer("play",0);
} }