2011-11-08 150 views
0

我正在iframe中使用jquery音樂播放器。 我在Chrome和Firefox上測試了頁面,並且iframe正確顯示,但在IE中它看起來不可見,音樂也不會啓動。在Internet Explorer 9中不顯示Iframe

HTML:

 <iframe id="player" src="include/iwishplayer/index.html" frameborder="0"></iframe> 

CSS:

#player {width:100%; height:100%; position:absolute; left:700px; bottom:-50px} 

網址:

http://gabrielmeono.com/working/

回答

0

嘗試其他玩家,看來你的播放器工作不正常

http://superdit.com/2011/04/27/12-jquery-plugins-for-playing-audio-video-files/

記住,音頻標籤將不低於9版本的IE瀏覽器,在這種情況下,一些玩家使用閃存而不是

你可以 '修復' 您現有的插件並修改代碼

$(this).append('<source src="' + audioSource + '.' + fileExt + '">');

$(this).attr("src", audioSource + "." + fileExt);

部分樣本用於音頻的IE瀏覽器,你可以找到 http://msdn.microsoft.com/en-us/library/gg589489(v=vs.85).aspx

0

嘗試禁用ActiveX篩選在IE設置

0

嘗試升級到iframe的源上的最新版本的jQuery。我在IE9上遇到類似的問題,這解決了我的問題(我從v1.9.1升級到v1.10.2)。

在我的案例IE引發此異常:SCRIPT16389: Unspecified error.

有用的信息可以在這裏找到:http://bugs.jquery.com/ticket/13378

相關問題