Skip to content

About

Scroll to Play as a jQuery Plugin

Resources

Stars

7 stars

Watchers

7 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

jQuery Embedly Scroll Play

A simple plugin that works with Embedly and Player.js to autoplay videos when they are scrolled into frame.

Install

You will need to add the ScrollPlay and Player.js libs your page:

<script type="text/javascript" src="//cdn.embed.ly/player-0.0.10.min.js"></script>
<script type="text/javascript" src="//cdn.embed.ly/jquery.embedly.scrollplay-0.0.1.min.js"></script>

Using ScrollPlay

Currently this is pretty simple plugin. Here is all of it:

$('iframe.embedly-embed').scrollplay();

Done. That's it. Good Talk. Glad we did this.

Demos

About

Scroll to Play as a jQuery Plugin

Resources

Stars

7 stars

Watchers

7 watching

Forks

Releases

Packages

Contributors

Languages