sampotts/plyr

Muting doesn't work for Vimeo videos in Chrome.

Open

#1084 opened on Jul 3, 2018

View on GitHub
 (5 comments) (4 reactions) (0 assignees)JavaScript (25,318 stars) (2,856 forks)batch import
BugHelp Wanted

Description

Expected behaviour

To be able to add the muted: true property to the Plyr constructor and the video to be muted.

Actual behaviour

Video plays with sounds in Chrome.

  • Browser: Chrome
  • Version: 67.0.3396.99
  • Operating System: MacOS
  • Version: 10.13.3

Steps to reproduce

Create a div with provider set to vimeo and pass through the vimeo video id with data-plyr-embed-id. Instantiate the video with var hero_video = new Plyr('#hero_player_plyr', { autoplay: true, muted: true, volume: 0, controls: [] });

Contributor guide