equal
deleted
inserted
replaced
3 }; |
3 }; |
4 |
4 |
5 IriSP.Widgets.JwpPlayer.prototype = new IriSP.Widgets.Widget(); |
5 IriSP.Widgets.JwpPlayer.prototype = new IriSP.Widgets.Widget(); |
6 |
6 |
7 IriSP.Widgets.JwpPlayer.prototype.defaults = { |
7 IriSP.Widgets.JwpPlayer.prototype.defaults = { |
8 } |
8 }; |
9 |
9 |
10 IriSP.Widgets.JwpPlayer.prototype.draw = function() { |
10 IriSP.Widgets.JwpPlayer.prototype.draw = function() { |
11 |
11 |
12 var _opts = {}, |
12 var _opts = {}, |
13 _player = jwplayer(this.$[0]), |
13 _player = jwplayer(this.$[0]), |
111 }, |
111 }, |
112 onVolume: function(_event) { |
112 onVolume: function(_event) { |
113 _media.volume = _event.volume / 100; |
113 _media.volume = _event.volume / 100; |
114 _media.trigger("volumechange"); |
114 _media.trigger("volumechange"); |
115 } |
115 } |
116 } |
116 }; |
117 |
117 |
118 _player = _player.setup(_opts); |
118 _player = _player.setup(_opts); |
119 |
119 |
120 this.jwplayer = _player; |
120 this.jwplayer = _player; |
121 |
121 |
122 } |
122 }; |