From 090ae06b697f79e61927417b14dfb9ddd593fbab Mon Sep 17 00:00:00 2001 From: calzoneman Date: Tue, 7 Jan 2014 13:51:58 -0600 Subject: [PATCH] Fix a few bugs with the mediaelement player --- www/assets/js/player.js | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/www/assets/js/player.js b/www/assets/js/player.js index c59e2d73..e7a39d67 100644 --- a/www/assets/js/player.js +++ b/www/assets/js/player.js @@ -993,9 +993,9 @@ var GoogleDocsPlayer = function (data) { function MediaElementsPlayer(data) { var self = this; self.init = function (data) { + self.videoId = data.id; + self.videoURL = data.url; waitUntilDefined(window, "MediaElementPlayer", function () { - self.videoId = data.id; - self.videoURL = data.url; var video = $("