1.下载flvplayer.swf。
2.创建xml配置文件。
<?xml version="1.0" encoding="utf-8"?> <vcaster> <item item_url="flv路径" item_title="flv标题"></item> <item item_url="flv路径" item_title="flv标题"></item> </vcaster>
3.在HTML的body中:
立即学习“前端免费学习笔记(深入)”;
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="470" height="310" wmode=”opaque”> <param name="movie" value="/global/flv/Flvplayer.swf?vcastr_xml=/global/flv/flv.xml&IsAutoPlay=1&IsContinue=1&IsRandom=1"> <param name="quality" value="high"> <param name="wmode" value="transparent"/> <param name="allowfullscreen" value="true"> <embed src="/global/flv/Flvplayer.swf?vcastr_xml=/global/flv/flv.xml&IsAutoPlay=1&IsContinue=1&IsRandom=1" wmode="transparent" allowfullscreen="true" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="470" height="310" WindowlessVideo="1"></embed> </object>
param 标签是IE使用的,embed标签是火狐和谷歌使用的。
HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号