Fix video banner js.

This commit is contained in:
BoHung Chiu 2021-10-27 18:15:17 +08:00
parent 922334febd
commit d39b6e2139
1 changed files with 1 additions and 2 deletions

View File

@ -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{