Home » Javascript » Custom Vimeo API embed not autoplaying in Chrome

Custom Vimeo API embed not autoplaying in Chrome

Posted by: admin May 11, 2018 Leave a comment


I have a quite specific issue regarding Chrome’s new feature where they stop autoplaying videos.

On our site we wanted the page to load as quickly as possible, so only insert a new Vimeo embed object when a user has chosen to click to watch a video. Eg. the showreel on our homepage:


The problem arises because we use our own custom play button, so Chrome doesn’t recognise that as a user-interaction, so it doesn’t think that the user has chosen to view the video, therefore it blocks the autoplay option (which works fine in Safari).

I wondered if anyone else has had this problem, and if anyone can think of a workaround?