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
player.loadVideoById({ 'videoId': 'theVideoId', 'playerVars': { 'autoplay': 0, 'controls': 0 } })
playerVars doesn't seems to be added to iframe url (described here https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player) Am I missing something?
The text was updated successfully, but these errors were encountered:
It seems that it is options for YouTubePlayer instance
let player = YouTubePlayer('domId', { 'videoId': 'theVideoId', 'playerVars': { 'autoplay': 0, 'controls': 0 } })
But loadVideoById play the video automatically is it a normal behavior?
player.loadVideoById('anotherId')
Sorry, something went wrong.
my playerVars also stopped working
It is a very simple project and if you find and issue, it will be the easiest for you to replicate the issue and contribute a fix.
I'm pretty sure the loadVideoById in the underlying API method doesn't allow for playerVars. https://developers.google.com/youtube/iframe_api_reference#loadVideoById
loadVideoById
playerVars
No branches or pull requests
playerVars doesn't seems to be added to iframe url (described here https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player)
Am I missing something?
The text was updated successfully, but these errors were encountered: