plyr: [V3] muted attribute is not working
Expected behaviour
<video muted autoplay>
should play the video with muted audio.
Actual behaviour
plyr.js
does not respect the muted
and does not mute the video.
Environment
- Browser: Firefox 58
- Operating System: Ubuntu Linux
- Plyr: 3.0.3
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (5 by maintainers)
They won’t if you’ve previously set the muted state and have it in local storage. Obviously the users settings overwrite the defaults. Try clearing your
plyr
local storage key.hey I have resolved this issue with little simple steps
const player = new Plyr('#player'); player.muted=true; player.play();
Try this:
Sorry this must be a regression somewhere. Should be a quick fix.