vue-youtube-embed icon indicating copy to clipboard operation
vue-youtube-embed copied to clipboard

Chrome and Autoplay

Open PhilMDev opened this issue 7 years ago • 1 comments

Apparently, Autoplay is now a problem in Chrome (after Jan 2018). See their new autoplay policy: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes.

I tried setting mute: true in the lib file and that didn't seem to help. Actually gave me an additional error.

Thanks!

PhilMDev avatar Feb 09 '18 21:02 PhilMDev

  <youtube
                ref="youtube"
                :video-id="videoId"
                :player-vars="videoSettings"
                class="embed-container"
                @ready="onReady"
                @playing="play"
                @paused="pause"
               :mute="true"
></youtube>

Question is old, but that could help somebody. Just add ':mute="true"'

klivak avatar Sep 08 '20 17:09 klivak