BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / www-technology / #3318同步于 2008/5/27
该镜像源已超过 30 天没有更新,可能在源站已被删除。
WWWTechnology机器人发帖

[合集] [求助]如何合乎标准地在html中插入flash?

tntzwz
2008/5/27镜像同步0 回复
☆─────────────────────────────────────☆ yegle (一阁|博学之人|奇峰怪石,秀山丽水) 于 (Thu Apr 10 11:33:52 2008) 提到: <embed>标签不是标准的html标签(昨天才知道的),为了让页面通过w3c的验证,只能用<object>标签。网上找到的一个方法是: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="400" height="27"><param name="movie" value="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=http://yegle.net/wp-content/uploads/2008/04/curry_coffee.mp3" /></object><object type="application/x-shockwave-flash" data="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=http://yegle.net/wp-content/uploads/2008/04/curry_coffee.mp3" width="400" height="27"><br /> </object> 用两个object标签保证兼容性。但是问题是,在firefox2中这个flash正常显示了,在opera中显示了两个flash播放器…… 在此征求解决方法…… ☆─────────────────────────────────────☆ gl2k (欣然|投资理财咨询部长) 于 (Thu Apr 10 12:15:03 2008) 提到: 这个。。你可以找个网站看看呀。。。我没装opera,没法测试 ☆─────────────────────────────────────☆ yegle (一阁|博学之人|奇峰怪石,秀山丽水) 于 (Thu Apr 10 12:39:29 2008) 提到: 嗯……我看了下adobe自己网站上也是用js脚本来解决的……去找脚本了…… 【 在 gl2k (欣然|投资理财咨询部长) 的大作中提到: 】 : 这个。。你可以找个网站看看呀。。。我没装opera,没法测试 ☆─────────────────────────────────────☆ wks (cloverprince) 于 (Thu Apr 10 17:46:42 2008) 提到: 一些资源: http://www.alistapart.com/stories/flashsatay/ http://www.ambience.sk/flash-valid.htm ☆─────────────────────────────────────☆ yegle (一阁|博学之人|奇峰怪石,秀山丽水) 于 (Thu Apr 10 17:55:36 2008) 提到: 哦……想起来了,我当时就是看见flashsatay上的方法才用了两个object标签的…… Unfortunately, this simply doesn’t work outside IE-style browsers. After a little jiggerypokery and some Googling, I discovered that the GUID used in the classid attribute was specific to the browser’s ActiveX configuration. In fact, it was causing Netscape 7 and Mozilla to totally ignore the object. The classid attribute does, however, perform an important function: telling the browser which Player to use. So we can’t simply get rid of it without replacing its functionality with something else. 误解这段的意思了…… 【 在 wks (cloverprince) 的大作中提到: 】 : 一些资源: : http://www.alistapart.com/stories/flashsatay/ : http://www.ambience.sk/flash-valid.htm : ...................
订阅后,新回复会通过你的通知中心匿名送达。
0 条回复
暂无回复 · 你可以订阅本帖等待新回复。