Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/resources/mw.EmbedPlayer.js |
— | — | @@ -825,7 +825,7 @@ |
826 | 826 | * On clip done action. Called once a clip is done playing |
827 | 827 | * TODO clean up end sequence flow |
828 | 828 | */ |
829 | | - postSequence: false, |
| 829 | + postSequenceFlag: false, |
830 | 830 | onClipDone: function() { |
831 | 831 | var _this = this; |
832 | 832 | // Don't run onclipdone if _propagateEvents is off |
— | — | @@ -1251,8 +1251,8 @@ |
1252 | 1252 | |
1253 | 1253 | // Reset first play to true, to count that play event |
1254 | 1254 | this.firstPlay = true; |
1255 | | - this.preSequence = false; |
1256 | | - this.postSequence = false; |
| 1255 | + this.preSequenceFlag = false; |
| 1256 | + this.postSequenceFlag = false; |
1257 | 1257 | |
1258 | 1258 | // Add a loader to the embed player: |
1259 | 1259 | this.pauseLoading(); |
— | — | @@ -1675,7 +1675,7 @@ |
1676 | 1676 | * Updates pause button Starts the "monitor" |
1677 | 1677 | */ |
1678 | 1678 | firstPlay : true, |
1679 | | - preSequence: false, |
| 1679 | + preSequenceFlag: false, |
1680 | 1680 | inPreSequence: false, |
1681 | 1681 | replayEventCount : 0, |
1682 | 1682 | play: function() { |
— | — | @@ -1696,8 +1696,8 @@ |
1697 | 1697 | } |
1698 | 1698 | } |
1699 | 1699 | |
1700 | | - if( !this.preSequence ) { |
1701 | | - this.preSequence = true; |
| 1700 | + if( !this.preSequenceFlag ) { |
| 1701 | + this.preSequenceFlag = true; |
1702 | 1702 | mw.log( "EmbedPlayer:: trigger preSequence " ); |
1703 | 1703 | $( this ).trigger( 'preSequence' ); |
1704 | 1704 | this.playInterfaceUpdate(); |