Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adds readme

  • Loading branch information...
commit be365daa7117eb1c413ff36cd7fb55bdb3f6c343 1 parent 7373d7d
@rwaldron authored
Showing with 27 additions and 0 deletions.
  1. +27 −0 readme.md
View
27 readme.md
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.