Play-button with Froogaloop on mobile

2019-09-12 16:02发布

问题:

I've created a play and pause button using Froogaloop, to control my Vimeo-video - and they work fine on desktop, but they do not work on mobile. I use Autoplay with the video, but since that is not working on mobile I need these buttons to work. This video is a background, so the built in play-button is not an option.

Can anyone help me?

Jsfiddle: https://jsfiddle.net/hkq3c6Lm/