diff -r 7e18d953a1f8 -r 392ddcd212d7 src/widgets/AutoPlayer.js --- a/src/widgets/AutoPlayer.js Mon Sep 30 14:39:34 2013 +0200 +++ b/src/widgets/AutoPlayer.js Tue Oct 01 15:41:46 2013 +0200 @@ -6,7 +6,7 @@ IriSP.Widgets.AutoPlayer.prototype.defaults = { default_type: "JwpPlayer" -} +}; IriSP.Widgets.AutoPlayer.prototype.draw = function() { @@ -52,7 +52,7 @@ } if (typeof _opts.type === "undefined") { - _opts.type = this.default_type + _opts.type = this.default_type; } if (_opts.type === "AdaptivePlayer") { @@ -73,4 +73,4 @@ this.insertSubwidget(this.$, _opts); -} \ No newline at end of file +}; \ No newline at end of file