aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/docs.js
diff options
context:
space:
mode:
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