Index: branches/new-upload/phase3/js2/mwEmbed/libSequencer/mvSequencer.js |
— | — | @@ -783,7 +783,7 @@ |
784 | 784 | closeModEditor:function(){ |
785 | 785 | //unset the sequencer |
786 | 786 | _global['mvSeq'] = null; |
787 | | - $j('#modalbox,#mv_overlay').remove(); |
| 787 | + $j('#sequencer_target,.ui-widget-overlay').remove(); |
788 | 788 | }, |
789 | 789 | closeModWindow:function(){ |
790 | 790 | $j('#modal_window').hide(); |
Index: branches/new-upload/phase3/js2/mwEmbed/mv_embed.js |
— | — | @@ -912,7 +912,11 @@ |
913 | 913 | }else{ |
914 | 914 | seconds = Math.round( seconds ); |
915 | 915 | } |
916 | | - |
| 916 | + if(seconds <10 ) |
| 917 | + seconds = '0'+ seconds; |
| 918 | + if(minutes < 10 ) |
| 919 | + minutes = '0' + minutes; |
| 920 | + |
917 | 921 | return hours+":"+minutes+":"+seconds; |
918 | 922 | } |
919 | 923 | /* |
Index: branches/new-upload/phase3/js2/mwEmbed/libEmbedVideo/embedVideo.js |
— | — | @@ -237,7 +237,7 @@ |
238 | 238 | }, |
239 | 239 | //this should not be needed. |
240 | 240 | checkClipsReady : function(){ |
241 | | - js_log('checkClipsReady'); |
| 241 | + //js_log('checkClipsReady'); |
242 | 242 | var is_ready=true; |
243 | 243 | for(var i=0; i < global_player_list.length; i++){ |
244 | 244 | if( $j('#'+global_player_list[i]).length !=0){ |
Index: branches/new-upload/phase3/js2/mwEmbed/libEmbedVideo/nativeEmbed.js |
— | — | @@ -72,7 +72,7 @@ |
73 | 73 | //@@todo check if the clip is loaded here (if so we can do a local seek) |
74 | 74 | if( this.supportsURLTimeEncoding() || !this.vid){ |
75 | 75 | //make sure we could not do a local seek instead: |
76 | | - if( perc < this.bufferedPercent ){ |
| 76 | + if( perc < this.bufferedPercent && this.vid.duration ){ |
77 | 77 | js_log("do local seek " + perc + ' is already buffered < ' + this.bufferedPercent); |
78 | 78 | this.doNativeSeek(perc); |
79 | 79 | }else{ |