equal
deleted
inserted
replaced
236 })); |
236 })); |
237 } else { |
237 } else { |
238 this.showWaitScreen(); |
238 this.showWaitScreen(); |
239 |
239 |
240 this.sendLdtData(contents, function(annotation) { |
240 this.sendLdtData(contents, function(annotation) { |
241 if (_this.cinecast_version) { |
241 if (_this.cinecast_version) { |
242 if (_this._Popcorn.media.paused) |
242 if (_this._Popcorn.media.paused) |
243 _this._Popcorn.play(); |
243 _this._Popcorn.play(); |
244 } |
244 } |
245 |
245 |
246 _this.showEndScreen(annotation); |
246 _this.showEndScreen(annotation); |
247 if (_this.cinecast_version) { |
247 if (_this.cinecast_version) { |
248 window.setTimeout(IriSP.wrap(_this, function() { this.showStartScreen(); }), 5000); |
248 window.setTimeout(IriSP.wrap(_this, function() { this.showStartScreen(); }), 5000); |
249 } |
249 } |
250 |
250 |
251 // hide the slicer widget |
251 // hide the slicer widget |
252 if (!_this.cinecast_version) { |
252 if (!_this.cinecast_version) { |
253 console.log("hie"); |
253 _this._Popcorn.trigger("IriSP.SliceWidget.hide"); |
254 this._Popcorn.trigger("IriSP.SliceWidget.hide"); |
254 } |
255 } |
|
256 }); |
255 }); |
257 } |
256 } |
258 }; |
257 }; |
259 |
258 |
260 IriSP.createAnnotationWidget.prototype.handleSliderChanges = function(params) { |
259 IriSP.createAnnotationWidget.prototype.handleSliderChanges = function(params) { |