Popcorn.js is an event system for < video >, with strong syntactic sugar for chaining < video > methods and adding events to the timeline. Popcorn is a JavaScript Function that wraps the native < video > element and returns a Popcorn object which:
- maintains a reference to the original HTMLVideoElement
- provides a normalized interface to the < video > elements native methods and properties.
- adds a special data property which contains meta data about the (this is where the magic happens)
No comments:
Post a Comment