0
我的閃光燈在ie6以外的所有瀏覽器都能正常工作。 在頁面加載過程中,我在ie6中看到flash很好,但是一旦加載了頁面,Flash就會消失。到處看,卻找不到解決方案。閃光燈在ie6後幾秒鐘內消失
在ie6下載的最新播放器WIN 10,3,181,34。在http://kb2.adobe.com/cps/155/tn_15507.html
JavaScript文件具有
$(document).ready(function() {
swfobject.registerObject("mymovie", "9.0.0", "expressInstall.swf");
});
下面檢測版本代碼在助手在App_Code文件夾
@helper SwfObject(string swfName, UrlHelper url) {
<object id="mymovie" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="960" height="315" style="background-color: #e6e6e6;" wmode="transparent">
<param name="movie" value="@url.Content("../../Content/flash/" + swfName)" />
<param name="wmode" value="opaque" />
<object type="application/x-shockwave-flash" data="@url.Content("../../Content/flash/" + swfName)" width="960" height="315" style="background-color: #e6e6e6;" wmode="transparent">
<div>
<img src="@url.Content("../../Content/gallery/album1/large/1.png")" alt="Image"/>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
</object>
</object>
}