springload / quicktube

A lightweight embed video player, with support for YouTube and Vimeo

Home Page:https://springload.github.io/quicktube/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mobile - player doesn't play when press the 'poster play button'

katie-day opened this issue · comments

On mobile, user needs to click on play button twice to get video to play.

First click loads the originally embedded video. Another click is required to play. This issue does not occur in browser.

I presume this is because mobile devices don't allow autoplay.
We may need to explicitly need to call playVideo() here.

See youtube documentation.

I have just read these docs from youtube saying that playVideo() won't work on mobile.

Closing issue