# HG changeset patch # User cavaliet # Date 1335262804 -7200 # Node ID 64ec9d0852d5ea912889de22807da7535b7dc6f7 # Parent 0eccfa374e51e7d8ba801b995a07c3652528cf56 update MDP with SlideShareWidget and the new private embed. diff -r 0eccfa374e51 -r 64ec9d0852d5 src/ldt/ldt/static/ldt/js/LdtPlayer-release.js --- a/src/ldt/ldt/static/ldt/js/LdtPlayer-release.js Thu Apr 19 18:16:33 2012 +0200 +++ b/src/ldt/ldt/static/ldt/js/LdtPlayer-release.js Tue Apr 24 12:20:04 2012 +0200 @@ -1736,6 +1736,7 @@ random_tags : false, show_from_field : false, disable_share : false, + return_delay : 10000, polemic_mode : true, /* enable polemics ? */ polemics : [{ "className" : "positive", @@ -3619,7 +3620,7 @@ if (_this._state == "waitScreen") { _this.showEndScreen(annotation); if (_this.cinecast_version) { - window.setTimeout(function() { _this.showStartScreen(); }, typeof this.disable_share !== "undefined" && this.disable_share ? 5000 : 10000); + window.setTimeout(function() { _this.showStartScreen(); }, _this.return_delay); } } // hide the slicer widget @@ -4958,56 +4959,73 @@ // We search if a segments_slides is in the current timecode var time = this._Popcorn.currentTime() * 1000; var nb_slides = this.segments_slides.length; - var found = false; + var forceEmpty = false; for (i = 0; i < nb_slides; i++) { var segment_slide = this.segments_slides[i]; if(segment_slide.begin