2011-11-10 86 views
0

火狐8拋出下面的錯誤上試圖播放火狐8拋出錯誤音頻(MP3)

pluginMediaElement.pluginElement.Content is undefined 
[Break On This Error] pluginMediaElement.pluginApi = plu...pluginElement.Content.MediaElementJS; 

Bad NPObject as private data! 
[Break On This Error] this.pluginApi.playMedia(); 

下面的8號線出現的第一個錯誤:

// find the javascript bridge 
    switch (pluginMediaElement.pluginType) { 
     case "flash": 
      pluginMediaElement.pluginElement = pluginMediaElement.pluginApi = document.getElementById(id); 
      break; 
     case "silverlight": 
      pluginMediaElement.pluginElement = document.getElementById(pluginMediaElement.id); 
      pluginMediaElement.pluginApi = pluginMediaElement.pluginElement.Content.MediaElementJS; 
     break; 
    } 

出現第二個錯誤在下面的第3行:

// HTML5 methods 
play: function() { 
    if (this.pluginApi != null) { 
     this.pluginApi.playMedia(); 
     this.paused = false; 
    } 
}, 

其他人遇到這個問題,並找到一種方法來解決它?謝謝!

+0

也看到很多「mejs是未定義」的錯誤,可能是相關的(它不顯示錯誤來自哪裏,不幸的是)。 – DeviaVir

回答

0

顯然這與顯示有關:無;和閃光燈。將我的音頻編碼爲Firefox和Opera的ogg解決了這個特殊問題(Firefox然後使用其本地播放器將Flash留給狗)。