Permalink
Browse files

Adds readme

  • Loading branch information...
rwaldron committed Sep 13, 2011
1 parent 7373d7d commit be365daa7117eb1c413ff36cd7fb55bdb3f6c343
Showing with 27 additions and 0 deletions.
  1. +27 −0 readme.md
View
@@ -0,0 +1,27 @@
+# mediagroup.js
+
+Adds declarative support for `mediagroup` attributes on HTML5 Media Elements (video/audio)
+
+Create a Picture-In-Picture where the inner video is synced with the outer video
+```html
+<video class="controller" controls mediagroup="pip">
+ <source src="assets/popcorntest.mp4"></source>
+ <source src="assets/popcorntest.ogv"></source>
+ <source src="assets/popcorntest.webm"></source>
+</video>
+<video mediagroup="pip">
+ <source src="assets/popcorntest.mp4"></source>
+ <source src="assets/popcorntest.ogv"></source>
+ <source src="assets/popcorntest.webm"></source>
+</video>
+````
+
+Jakefile
+
+ jake
+
+ (lone command will run all)
+
+ minify - UglifyJS on all application code
+ hint - JSHint on all application code
+ clean - delete generated files

0 comments on commit be365da

Please sign in to comment.