equal
deleted
inserted
replaced
13 var height = this.height; |
13 var height = this.height; |
14 var heightS = this.height-20; |
14 var heightS = this.height-20; |
15 |
15 |
16 var Player_templ = Mustache.to_html(IriSP.player_template, {"share_template" : IriSP.share_template}); |
16 var Player_templ = Mustache.to_html(IriSP.player_template, {"share_template" : IriSP.share_template}); |
17 this.selector.append(Player_templ); |
17 this.selector.append(Player_templ); |
18 |
18 |
19 this.selector.children(".Ldt-controler").width(width - 10); |
|
20 |
|
21 this.selector.children(".Ldt-controler").show(); |
19 this.selector.children(".Ldt-controler").show(); |
22 |
20 |
23 // handle clicks by the user on the video. |
21 // handle clicks by the user on the video. |
24 this._Popcorn.listen("play", IriSP.wrap(this, this.playButtonUpdater)); |
22 this._Popcorn.listen("play", IriSP.wrap(this, this.playButtonUpdater)); |
25 this._Popcorn.listen("pause", IriSP.wrap(this, this.playButtonUpdater)); |
23 this._Popcorn.listen("pause", IriSP.wrap(this, this.playButtonUpdater)); |