The HTML5 Media Framework. (Unmaintained. See https://github.com/menismu/popcorn-js for activity)
Перейти к файлу
Anna Sobiepanek d8bdb54e62 Merge branch 'tagPlugin' into 0.3 2011-02-08 18:37:19 -05:00
build [#261] Updates Makefile and adds build/ with tools 2011-01-19 20:34:48 -05:00
demos/semantic_video Merge commit '0b981bd74430a53ac49ab09571251c4c4c1' into 0.3 2011-02-08 17:24:43 -05:00
parsers [#296] Remove redundant files 2011-02-08 18:11:45 -05:00
plugins Merge branch 'tagPlugin' into 0.3 2011-02-08 18:37:19 -05:00
test Merge branch '313' into 0.3 2011-02-08 17:35:40 -05:00
tools Fix CRLF 2011-02-08 16:40:40 -05:00
.gitignore Fix CRLF 2011-02-08 16:40:40 -05:00
LICENSE added license [#263 state:peer-review] 2011-02-08 17:42:19 -05:00
Makefile [#272] line 42 in the makefile needs to be fixed 2011-01-20 15:23:32 -05:00
example.html Merge branch '313' into 0.3 2011-02-08 17:35:40 -05:00
popcorn.js [#310] Changes per review 2011-02-08 15:58:30 -05:00
readme.md Updating readme to have links and <video> tags that render 2011-01-11 19:25:05 -08:00

readme.md

PopcornJS

The HTML5

Demos

Overview

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;

  1. maintains a reference to the original HTMLVideoElement
  2. provides a normalized interface to the < video > elements native methods and properties.
  3. adds a special data property which contains meta data about the

By normalizing the native methods, the framework allows developers to write chainable function executions off the returned Popcorn object.

API

We have begun API documentation here: https://gist.github.com/729213#file_popcorn_api.js

Plugin Factory

Popcorn also offers a plugin factory. Popcorn plugins are a way for developers to wrap functionality that responds to a point in a video.

Roadmap

We are working on the 0.3 & 1.0 Roadmaps at http://etherpad.mozilla.com:9000/popcornjs