Fix video banner js.
This commit is contained in:
parent
922334febd
commit
d39b6e2139
|
@ -73,7 +73,6 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){
|
|||
delete yt_players[id][k];
|
||||
})
|
||||
iframes.each(function(i,iframe){
|
||||
console.log($(iframe).attr("id"))
|
||||
var yt_player = yt_players[id][$(iframe).attr("id")];
|
||||
if(yt_player){
|
||||
}else{
|
||||
|
@ -122,6 +121,7 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){
|
|||
}
|
||||
{{extra_state_chnage_script}}
|
||||
}
|
||||
}
|
||||
$(document).ready(function(){
|
||||
window.onYouTubePlayerAPIReady = function() {
|
||||
onYouTubeIframeAPIReady.apply(this,arguments);
|
||||
|
@ -176,7 +176,6 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){
|
|||
},300);
|
||||
})
|
||||
})
|
||||
}
|
||||
</script>
|
||||
<style type="text/css">
|
||||
.w-ba-banner .controlplay .resume-slide.active i{
|
||||
|
|
Loading…
Reference in New Issue