diff -r 7e18d953a1f8 -r 392ddcd212d7 src/widgets/HtmlMashupPlayer.js --- a/src/widgets/HtmlMashupPlayer.js Mon Sep 30 14:39:34 2013 +0200 +++ b/src/widgets/HtmlMashupPlayer.js Tue Oct 01 15:41:46 2013 +0200 @@ -8,7 +8,7 @@ IriSP.Widgets.HtmlMashupPlayer.prototype.defaults = { aspect_ratio: 14/9, background: "#333333" -} +}; IriSP.Widgets.HtmlMashupPlayer.prototype.draw = function() { @@ -153,7 +153,7 @@ media.loaded = true; media.trigger("loadedmetadata"); media.trigger("volumechange"); - }) + }); videoSelector.on("timeupdate", function() { media.trigger("timeupdate", new IriSP.Model.Time(1000*videoElement.currentTime)); @@ -162,7 +162,7 @@ videoSelector.on("volumechange", function() { getVolume(); media.trigger("volumechange"); - }) + }); videoSelector.on("play", function() { media.trigger("play"); @@ -179,12 +179,12 @@ videoSelector.on("seeked", function() { media.trigger("seeked"); }); - } + }; media.hide = function() { videoElement = undefined; sel.find("#" + videoid).remove(); - } + }; // Binding functions to Media Element Functions @@ -342,4 +342,4 @@ changeCurrentAnnotation(); }); -} \ No newline at end of file +}; \ No newline at end of file