The HTML5 Media Framework. (Unmaintained. See https://github.com/menismu/popcorn-js for activity)
Перейти к файлу
Anna Sobiepanek 28fb20037b changed options as per SR request [#248] 2011-04-14 11:16:51 -04:00
build [#354] fix a brain-fart in jslint-check.js that was causing it to not report errors in the first file it checked, which means that it never reported any errors in popcorn.js 2011-02-22 17:42:25 -06:00
demos/semantic_video [#408] google scripts need to wait for google.load 2011-03-21 11:47:26 -04:00
parsers Merge commit 'rick/t450' into 0.5 2011-03-26 10:00:36 -04:00
players Fixing trailing comma in vimeo player code. 2011-03-17 16:01:56 -04:00
plugins changed options as per SR request [#248] 2011-04-14 11:16:51 -04:00
test Merge commit 'rick/415' into 0.5 2011-04-04 22:57:55 -04:00
tools Fix CRLF 2011-02-08 16:40:40 -05:00
.gitignore Merge commit 'rick/347a' into 0.4a 2011-02-24 14:44:23 -05:00
AUTHORS Merge commit 'cgomes7/322' into 0.4 2011-03-17 14:42:55 -04:00
LICENSE added license [#263 state:peer-review] 2011-02-08 17:42:19 -05:00
Makefile Fix typo in Makefile. 2011-03-17 15:56:41 -04:00
example.html Merge branch '313' into 0.3 2011-02-08 17:35:40 -05:00
popcorn.js [#t465] DRY out repeated options.dataType.toLowerCase() 2011-04-05 09:42:44 -04:00
readme.md adding changelog link to readme [#317 state:staged] 2011-02-09 13:16:00 -05: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

Changelog

A changelog can be found here: https://webmademovies.lighthouseapp.com/projects/63272/changelog