日期:2014-05-17  浏览次数:20473 次

flv视频播放问题
各位大侠,这是我写的上传flash视频播放的代码,但放不出来<embed src="http://video.google.com/googleplayer.swf?videoUrl=localhost/testflv/flash/111111111111111.flv" type="application/x-shockwave-flash" wmode="transparent" quality="high" width="450" height="370" autostart="true"></embed>请给我指点一下,非常感激。

------解决方案--------------------
问题时是服务器支持播放flv这个后缀的文件不
------解决方案--------------------
如果是iis,则在网站属性里找到 配置,里边有个mime,添加类型.flv
------解决方案--------------------
<embed src="http://video.google.com/googleplayer.swf?videoUrl=http://localhost/testflv/flash/111111111111111.flv" type="application/x-shockwave-flash" wmode="transparent" quality="high" width="450" height="370" autostart="true"></embed>
注意你写的路径我用红色字体标出。如果还不行的话建议你用另一个播放器

flvplayer播放器提供源代码(做自己的播放器)

flash 播放器代码实例下载