We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation .
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
Each time I do player.cueVideoById thumbnail is loaded as default quality, even I when I specify suggestedQuality property it's being ignored.
player.cueVideoById
default
suggestedQuality
Anyone have similar experience before?
The text was updated successfully, but these errors were encountered:
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"); }); }
Sorry, something went wrong.
No branches or pull requests