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
YT autoplay requires the mute option, but this does not seem to be supported.
playerVars: {mute: 1}
The following codepen has a working combination of attributes to enable autoplay even on iOS safari.
https://codepen.io/iounini/pen/mdWVJLB
The text was updated successfully, but these errors were encountered:
You can use the standard muted attribute or player option, or {customVars: {muted: 1}} to set directly , https://github.com/videojs/videojs-youtube?tab=readme-ov-file#custom-player-options
muted
{customVars: {muted: 1}}
Sorry, something went wrong.
Thanks! yes, having both set was the solution. "youtube": { "customVars": { "mute": 1 ,"playsinline": 1, }}
"youtube": { "customVars": { "mute": 1 ,"playsinline": 1, }}
No branches or pull requests
YT autoplay requires the mute option, but this does not seem to be supported.
playerVars: {mute: 1}
The following codepen has a working combination of attributes to enable autoplay even on iOS safari.
https://codepen.io/iounini/pen/mdWVJLB
The text was updated successfully, but these errors were encountered: