jquerywordpressvimeo-playervideo-embedding

Vimeo embed video is not playing when clicked


Hello on this website I have there is a overlay play button on image which when clicked will load vimeo video with and play it but here the problem is that the video does load but pauses automatically. Even though autoplay parameter is already present. The site in question is this.

https://transplant.tv/portfolio/sharing-schemes/

Is this because of chrome and other browsers policy which blocks autoplay of video?


Solution

  • Yes, there are some browser policy that doesn't allow you the autoplay vidos UNTIL there is no user interaction on the page. So basically, if you display a video on a button click, that will work with autoplay.

    I tried to do the following a while ago and figured out that it works only if I did some interaction on the page (like click) before.

    Here is a detailed policy changes from Google.