所在位置:
论坛首页
->
程序人生
->
博客美化
->
网易博客代码美化
-> 网易博客代码之播放器篇
标题:网易博客代码之播放器篇
作者:
博客专家
收藏
编辑
删除
楼 主
1、
帖子里插入
flash
代码:
code:
<embed src="flash地址" width=500 height=340></embed>
其中“flash地址”必须以“http://”开头和“.swf”结尾,width是指播放画面宽度,height指高度。如果需要居中,在上面代码前面加入<p align=center>。
那么,在网页中发现自己喜欢的flash动画,如何窃取网址呢?我将在下一篇文章中详述,这里只介绍代码。
2、插入
mp3
代码:
code:
<embed src="mp3地址" width=310 height=35 type=audio/x-pn-realaudio-plugin c autostart="true" loop="true">
支持rm或mid格式(随机播放):
code:
<embed src="rm mp3 mid地址" width=150 height=25 type=audio/x-pn-realaudio-plugin c autostart="true">
非自动播放:
code:
<embed src="rm mp3地址" width=248 height=66 type=audio/x-pn-realaudio-plugin border="0">
隐藏mp3播放器:
code:
<embed width="0" height="0" src="mp3地址" type="application/x-shockwave-flash"></embed>
3、视频常用播放器[mtv]
code:
<embed src="视频地址" type="audio/x-pn-realaudio-plugin" c c height="330" width="450" autostart="true">
4、插入背景音乐的代码:
code:
<bgsound src="mp3 mid地址" loop="-1">
音乐地址一般都以mid或者mp3的形式结尾 后面的数字是播放次数。”-1”是循环播放。
5、放透明flash的代码:
code:
<embed style="; left: 50px; top: -80px;" src=flash地址 width=700 height=780 wmode="transparent">
简易型:
code:
<embed src=http://www.*.com/mediadate/lxlhbcn.asf style="height: 45px; width: 190px" type=audio/mpeg autostart="1" loop="0">
</embed>
标签型:
code:
<embed width=240 height=140 transparentatstart=true animationatstart=false autostart=true autosize=false volume=100 displaysize=0 showdisplay=true showstatusbar=true showcontrols=true showaudiocontrols=true showtracker=true showpositioncontrols=true balance=true src="http://www.*.com/mediadate/lxlhbcn.asf">
</embed>
注册Text Link Ads,流量再小的博客也能赚美金
注册Google Adsense,流量越大,赚钱越多
发帖时间:2007-8-3 17:45:15
作者:
玩不起
编辑
删除
引用
第2楼
http://kiko106.blog.163.com
发帖时间:2008-7-28 21:37:45
快速回复
支持UBB,HTML标签
高级回复
内容
操作选项:
加精
解精
奖惩
设专题
设公告
解公告
固顶
总固顶
解固顶
结帖
解结帖
锁帖
解锁
移帖
删帖
酷博网 版权所有 互动QQ群:39196470 MSN:CoolboDesign@Hotmail.com 辽ICP备05001416号
Copyright
©
2003-2007
CoolBo
.Org
All Rights Reserved.