equal
deleted
inserted
replaced
75 is_mashup: _this.is_mashup || false |
75 is_mashup: _this.is_mashup || false |
76 }; |
76 }; |
77 _this.media = _this.source.getCurrentMedia(_mediaopts); |
77 _this.media = _this.source.getCurrentMedia(_mediaopts); |
78 } |
78 } |
79 |
79 |
80 _this.draw(); |
80 |
|
81 if (_this.pre_draw_callback){ |
|
82 IriSP.jQuery.when(_this.pre_draw_callback()).done(_this.draw()); |
|
83 } |
|
84 else { |
|
85 _this.draw(); |
|
86 } |
81 _this.player.trigger("widget-loaded"); |
87 _this.player.trigger("widget-loaded"); |
82 } |
88 } |
83 |
89 |
84 if (this.metadata) { |
90 if (this.metadata) { |
85 /* Getting metadata */ |
91 /* Getting metadata */ |