Skip to content
New issue

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

Plyr not applying muted parameter to Youtube video #2793

Open
owen-soak opened this issue May 13, 2024 · 0 comments
Open

Plyr not applying muted parameter to Youtube video #2793

owen-soak opened this issue May 13, 2024 · 0 comments

Comments

@owen-soak
Copy link

Expected behaviour

Muted property present in iframe URL.

Actual behaviour

The video appears but does not have muted=1 included in the iframe URL as defined in the config, strangely this occurs at random so sometimes it does work so perhaps a race condition or something?

Steps to reproduce

const newPlayer = new Plyr(p, {
                hideControls: hideControls,
                loop: {
                    active: loop
                },  
                debug: false,
                volume: 0,
                muted: 1,
                autoplay: autoplay,
                storage: { enabled: false, key: 'plyr' }
            }); 

Environment

  • Browser: Chrome
  • Version: 124.0.6367.201
  • Operating System: MacOS
  • Version: 12.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant