Create Static Popcorn.position()
Create static Popcorn.position() that accepts an element argument. Rewire Popcorn.prototype.position() to use static method internally.
This change will allow all plugins and players to use the position() logic for ANY element
Comments and changes to this ticket
- State changed from super-review-requested to review-needs-work
- Assigned user changed from Scott Downe to Rick
equals( typeof Popcorn.position, "function" , "Popcorn.position is a provided utility function");
In the utility tests. Trivial.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Popcorn.js is an HTML5 video framework that lets you bring elements of the web into your videos.
Popcorn.js is a project of Web Made Movies, Mozilla's Open Video Lab.