You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, cueVideoById loads default thumbnail and not high quality thumbnail. Remove cueVideoById will load high resolution image. player.cueVideoById is used for not playing video on page load.
Instead you can play video on click by putting code into onPlayerReady function.
function onPlayerReady(event) {
var play= document.getElementById("play-button");
play.addEventListener("click", function() {
player.playVideo("YoutvideoID");
});
var pause= document.getElementById("pause-button");
pause.addEventListener("click", function() {
player.pause("YoutvideoID");
});
}
Hello,
Each time I do
player.cueVideoById
thumbnail is loaded asdefault
quality, even I when I specifysuggestedQuality
property it's being ignored.Anyone have similar experience before?
The text was updated successfully, but these errors were encountered: