Index: trunk/extensions/MetavidWiki/skins/mv_embed/embedLibs/mv_nativeEmbed.js |
— | — | @@ -64,8 +64,10 @@ |
65 | 65 | this.start_offset=this.media_element.selected_source.start_offset; |
66 | 66 | |
67 | 67 | //don't update status if we are not the current clip |
68 | | - if(this.pc.pp.cur_clip.id != this.pc.id) |
69 | | - return true; |
| 68 | + if(this.pc){ |
| 69 | + if(this.pc.pp.cur_clip.id != this.pc.id) |
| 70 | + return true; |
| 71 | + } |
70 | 72 | |
71 | 73 | //only update the interface if controls have been included: |
72 | 74 | if( this.currentTime > 0 ){ |
Index: trunk/extensions/MetavidWiki/skins/mv_embed/mv_embed.js |
— | — | @@ -2804,14 +2804,14 @@ |
2805 | 2805 | /* |
2806 | 2806 | * IE and non-firebug debug: |
2807 | 2807 | */ |
2808 | | - var log_elm = document.getElementById('mv_js_log'); |
| 2808 | + /*var log_elm = document.getElementById('mv_js_log'); |
2809 | 2809 | if(!log_elm){ |
2810 | 2810 | document.write('<div style="position:absolute;z-index:500;top:0px;left:0px;right:0px;height:150px;"><textarea id="mv_js_log" cols="80" rows="6"></textarea></div>'); |
2811 | 2811 | var log_elm = document.getElementById('mv_js_log'); |
2812 | 2812 | } |
2813 | 2813 | if(log_elm){ |
2814 | 2814 | log_elm.value+=string+"\n"; |
2815 | | - } |
| 2815 | + }*/ |
2816 | 2816 | } |
2817 | 2817 | //in case of "throw error" type usage |
2818 | 2818 | return false; |