Skip to content

Control play, pause and stop of youtube videos on mobile devices. ►

License

Notifications You must be signed in to change notification settings

alisonmonteiro/youplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

<div class=“example”
  data-video-id="YR5ApYxkU-U"
  data-you-play=".button-play"
  data-you-pause=".button-pause"
  data-you-stop=".button-stop">Loading...</div>

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.

About

Control play, pause and stop of youtube videos on mobile devices. ►

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published