网页设计师博客

网页设计相关知识分享,网站建设经验交流

« 网页设计中css防止表格被撑开或div层被撑开的多种方法网站建设前应该知道的一些专业术语 »

.flv的视频文件如何在服务器上能正常浏览?

利用GOOGLE的FLV播放器在线播放FLV文件的代码

首先知道Google播放器的地址:

http://video.google.com/googleplayer.swf


然后找到 flv文件的地址,例如:

http://v1.ouou.com/BAB51A4D332E42A1/_01/data/video_source/videos/oubj/2007/02/01/1170295437055.flv

然后找到你想要在开始播放前显示的缩略图例如:

http://www.6339.cn/anli.files/malata.jpg

最终形成两种代码:

有缩略图点击播放:
<embed src="http://video.google.com/googleplayer.swf?videoUrl=http://music1.hexun.com/Save/Video/2006/1206/126/M_7E83044DFF2983F3.FLV&thumbnailUrl=http://www.eooeo.com/IMAGES1/top2.jpg&playerMode=normal" type="application/x-shockwave-flash" wmode="transparent" quality="high" width="450" height="370" autostart="true"></embed>
有缩略图自动播放:
<embed src="http://video.google.com/googleplayer.swf?videoUrl=http://music1.hexun.com/Save/Video/2006/1206/126/M_7E83044DFF2983F3.FLV&thumbnailUrl=http://www.eooeo.com/IMAGES1/top2.jpg&playerMode=normal&autoPlay=true" type="application/x-shockwave-flash" wmode="transparent" quality="high" width="450" height="370" autostart="true"></embed>
缩率图也可以不要:
<embed src="http://video.google.com/googleplayer.swf?videoUrl=http://music1.hexun.com/Save/Video/2006/1206/126/M_7E83044DFF2983F3.FLV" type="application/x-shockwave-flash" wmode="transparent" quality="high" width="450" height="370" autostart="true"></embed>
http://video.google.com/googleplayer.swf?videoUrl=http://v1.ouou.com/BAB51A4D332E42A1/_01/data/video_source/videos/oubj/2007/02/01/1170295437055.flv
 

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Powered By Z-Blog 1.8 Spirit Build 80710 Code detection by Codefense  theme by BokeZhuti

Copyright kurui tech http://www.6339.cn/blog. 网页设计 Some Rights Reserved.