YouPlay
A simple way to control play and pause of youtube videos on mobile devices.
Usage
It’s simple. You can create an element with these data attributes and then magic happens. :D
Loading...
Why?
Because it’s lightweight, fast, easy to use and prevents you waste your time.
…
There’s a lot of features to add on this package, but for now, that's it.
If you have an idea or an issue with this package, please create a fork and send a pull request or open an issue. This would help me a lot.