From 6e25aef060560212eeab0ae3b1648859ba48f45a Mon Sep 17 00:00:00 2001 From: KahWee Teng Date: Wed, 28 Oct 2015 16:06:33 -0400 Subject: [PATCH] @kahwee Fixed sandbox plugin example to work in Video.js 5. closes #2691 --- CHANGELOG.md | 2 ++ sandbox/plugin.html.example | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3548fe324..e9c83bd70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ CHANGELOG * @misteroneill added a modal dialog ([view](https://github.com/videojs/video.js/pull/2668)) * @misteroneill removed z-index from big play button ([view](https://github.com/videojs/video.js/pull/2639)) * @DaveVoyles updated URL to player API docs ([view](https://github.com/videojs/video.js/pull/2685)) +* @ ([view](https://github.com/videojs/video.js/pull/2691)) +* @kahwee Fixed sandbox plugin example to work in Video.js 5 ([view](https://github.com/videojs/video.js/pull/2691)) -------------------- diff --git a/sandbox/plugin.html.example b/sandbox/plugin.html.example index eff147ca8..4847c91f8 100644 --- a/sandbox/plugin.html.example +++ b/sandbox/plugin.html.example @@ -41,10 +41,10 @@ }; // register the plugin - vjs.plugin('progressed', progressed); + videojs.plugin('progressed', progressed); // initialize it - vid1 = vjs('vid1'); + vid1 = videojs('vid1'); vid1.progressed(); })();