aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/docs.js
diff options
context:
space:
mode:
authorSam Potts <me@sampotts.me>2015-02-24 12:37:23 +1100
committerSam Potts <me@sampotts.me>2015-02-24 12:37:23 +1100
commit1b8b5d6ee45eb3b89703583e32b7c885aa601917 (patch)
tree989c15de90bd614b2905412934a90c7fa8fb148b /src/js/docs.js
parentc105063ad963f6bd0bc9e8f48e7d4043f8f40450 (diff)
downloadplyr-1b8b5d6ee45eb3b89703583e32b7c885aa601917.tar.lz
plyr-1b8b5d6ee45eb3b89703583e32b7c885aa601917.tar.xz
plyr-1b8b5d6ee45eb3b89703583e32b7c885aa601917.zip
Tidying up, bower changes
- Folder tidy up - Bower updated to include source files - Upgraded to svgstore 5.0.0
Diffstat (limited to 'src/js/docs.js')
-rw-r--r--src/js/docs.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/js/docs.js b/src/js/docs.js
new file mode 100644
index 00000000..89803ee2
--- /dev/null
+++ b/src/js/docs.js
@@ -0,0 +1,15 @@
+// ==========================================================================
+// Docs example
+// ==========================================================================
+
+/*global plyr, templates */
+
+// Setup the player
+plyr.setup({
+ debug: true,
+ title: "Video demo",
+ html: templates.controls.render({}),
+ captions: {
+ defaultActive: true
+ }
+}); \ No newline at end of file