Skip to content

Instantly share code, notes, and snippets.

@boazsender
boazsender / popcorn-api.js
Created December 5, 2010 16:24
Popcorn API, Three Popcorn.js plugin patterns, and the plugin manifes
// Popcorn Instance Methods
var p = Popcorn( "#video" )
p.play()
// Play the video (Native "pass through" method)
// Returns the Popcorn instance object
p.load()
// Load the video (Native "pass through" method)
// Returns the Popcorn instance object