aboutsummaryrefslogtreecommitdiffstats
path: root/assets/js/docs.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/docs.js')
-rw-r--r--assets/js/docs.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/assets/js/docs.js b/assets/js/docs.js
index f80fe696..fcb05868 100644
--- a/assets/js/docs.js
+++ b/assets/js/docs.js
@@ -2,16 +2,16 @@
// Docs example
// ==========================================================================
-/*global InitPxVideo, Mustache, templates */
+/*global simpleMedia, templates */
-// Initialize
-var video = new InitPxVideo({
- "videoId": "myvid",
- "captionsOnDefault": true,
- "seekInterval": 20,
- "videoTitle": "PayPal Austin promo",
- "debug": true,
- "html": templates.controls.render({})
+// Register a callback
+simpleMedia.on("setup", function() {
+ console.log(this);
});
-console.log(video); \ No newline at end of file
+//execute shout
+simpleMedia.setup({
+ debug: true,
+ title: "PayPal demo",
+ html: templates.controls.render({})
+}); \ No newline at end of file