Internet explorer 8 IE8不显示swf
如果浏览器没有检测到HTML5音频控制器,它将退回swf播放器 但是由于一些未知的原因IE8没有显示swf播放器。 swfobject.js与html位于同一文件夹中 以下是完整的代码:Internet explorer 8 IE8不显示swf,internet-explorer-8,flash,Internet Explorer 8,Flash,如果浏览器没有检测到HTML5音频控制器,它将退回swf播放器 但是由于一些未知的原因IE8没有显示swf播放器。 swfobject.js与html位于同一文件夹中 以下是完整的代码: 您正在使用swfobject.registerObjectmyId、9.0.0、expressInstall.swf,但您的页面上没有id为myId的元素。是否删除此行?因为我只是复制/粘贴,据我所知只是垃圾代码,对吗?不,实际上myId应该代表对象标记的id。您可能想看看文档的这一部分: <!D
您正在使用swfobject.registerObjectmyId、9.0.0、expressInstall.swf,但您的页面上没有id为myId的元素。是否删除此行?因为我只是复制/粘贴,据我所知只是垃圾代码,对吗?不,实际上myId应该代表对象标记的id。您可能想看看文档的这一部分:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("myId", "9.0.0", "expressInstall.swf");
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<center>
<audio controls preload="auto" autobuffer>
<source src="friday.ogg" />
<source src="friday.mp3" />
<div class="fallback">
<object type="application/x-shockwave-flash" data="xspf_player.swf?playlist_url=playlist.xspf&autoplay=true
&repeat_playlist=true&player_title=KICK&playlist_size=3"
width="400" height="151">
<param name="movie" value="xspf_player
.swf? playlist_url=playlist.xspf&
;autoplay=true&repeat_playlist=true&player_title=
KICK&playlist_size=3" />
</object>
</div>
</audio>
</center>
</body>
</html>