Skip to content

embedly/jquery-embedly-scrollplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published