fix error
This commit is contained in:
parent
7ef3b1496c
commit
ce3967f1ec
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue