equal
deleted
inserted
replaced
6 |
6 |
7 IriSP.Widgets.AdaptivePlayer.prototype.defaults = { |
7 IriSP.Widgets.AdaptivePlayer.prototype.defaults = { |
8 mime_type: "video/mp4", |
8 mime_type: "video/mp4", |
9 normal_player: "HtmlPlayer", |
9 normal_player: "HtmlPlayer", |
10 fallback_player: "JwpPlayer" |
10 fallback_player: "JwpPlayer" |
11 } |
11 }; |
12 |
12 |
13 IriSP.Widgets.AdaptivePlayer.prototype.draw = function() { |
13 IriSP.Widgets.AdaptivePlayer.prototype.draw = function() { |
14 |
14 |
15 if (typeof this.video === "undefined") { |
15 if (typeof this.video === "undefined") { |
16 this.video = this.media.video; |
16 this.video = this.media.video; |
28 } |
28 } |
29 } |
29 } |
30 |
30 |
31 this.insertSubwidget(this.$, _opts); |
31 this.insertSubwidget(this.$, _opts); |
32 |
32 |
33 } |
33 }; |