html播放flv完美解决办法(原创)
(2010-01-08 16:00:26)
标签:
flvhtmljavait |
分类: 我的工作笔记 |
很多人大概在为页面播放flv文件为苦恼,一下是本人自创的完美解决办法
其中用到俩文件可以去我的csdn 下载
http://coolcloud520.download.csdn.net/
<s:if
test="video.videourl.substring(video.videourl.length()-3,
video.videourl.length()).equals('flv')">
<object id="vcastr3" height="357" width="476"
data="/swf/vcastr3.swf"
type="application/x-shockwave-flash">
<param value="/swf/vcastr3.swf"
name="movie"/>
<param value="true"
name="allowFullScreen"/>
<param value="xml=
<vcastr>
<channel>
<item>
<source><s:property
value='video.videourl'/></source>
<duration></duration>
<title>
</object>
<EMBED align="middle"
src="<s:property
value='video.videourl'/>" width=480 height=400
type="application/x-shockwave-flash" quality="high"
allowScriptAccess="never" allowNetworking="internal" autostart="0" ></EMBED>