Please sign in to comment.
Updated our plugin docs to include the best practices guide as well a…
…s better links
- Loading branch information...
Showing with 23 additions and 3 deletions.
|@@ -0,0 +1,20 @@|
|+# Players #|
|+In addition to Popcorn's plugin factory, Popcorn also provides a way for users to create their own media player ( other than the HTML5 one ) to create and fire events off of.|
|+## Document and Directory Setup ##|
|+1. Create a folder popcorn-js/players/playername|
|+2. Create 4 files:|
|+ * **popcorn.playername.html** – The demo file, contains html to run player|
|+ * **popcorn.playername.js** – The code file, contains player|
|+ * **popcorn.playername.unit.html** – The demo test file, contains html test framework|
|+ * **popcorn.playername.unit.js** – The code test file, contains unit tests|
|+## Making the player ##|
|+Developing a player for Popcorn is a bit more complicated than creating a plugin. In order for a player to work correctly you need to handle all [events]() that the HTML5|