equal
deleted
inserted
replaced
1 IriSP.Widgets.HtmlPlayer = function(player, config) { |
1 //HtmlPlayer |
2 IriSP.Widgets.Widget.call(this, player, config); |
2 |
|
3 const HtmlPlayer = function (ns) { |
|
4 return class extends ns.Widgets.Widget { |
|
5 constructor(player, config) { |
|
6 super(player, config); |
|
7 } |
|
8 |
|
9 static defaults = {}; |
|
10 |
|
11 draw() { |
|
12 ns.htmlPlayer(this.media, this.$, this); |
|
13 } |
|
14 }; |
3 }; |
15 }; |
4 |
16 |
5 IriSP.Widgets.HtmlPlayer.prototype = new IriSP.Widgets.Widget(); |
17 export { HtmlPlayer }; |
6 |
|
7 |
|
8 IriSP.Widgets.HtmlPlayer.prototype.defaults = { |
|
9 }; |
|
10 |
|
11 IriSP.Widgets.HtmlPlayer.prototype.draw = function() { |
|
12 |
|
13 IriSP.htmlPlayer(this.media, this.$, this); |
|
14 |
|
15 }; |
|