找回密码
 注册
搜索
热搜: 回贴

各种媒体在线播放代码

2009-12-16 01:12| 发布者: admin| 查看: 56| 评论: 0|原作者: 小可爱

现在有自己blog的人越来越多了,大家也都想在自己的blog上勾画出自己的特色,比如个性的首页、个性的介绍以及向大家推荐自己喜欢的音乐等。为了给大家也给自己提供方便,整理了一些流行格式的在线播放代码,以备添加之用。
【文中的一些标号的说明】
"Filename with full URL"——待播放文件的文件名,前面带上绝对路径,或者本站的相对路径。
width_num——指定一个作为宽度的数字;
height_num——指定一个作为高度的数字;
1.mid
autostart="true" loop="true" height=height_num width=width_num>
2.mp3
src="Filename with full URL" border="0"
" width="400" height="300" type="application/x-shockwave-flash" wmode="transparent" document.document.form1.="hight">

="http://www.apple.com/quicktime/download/indext.html">
3.avi
height="height_num" type="application/x-mplayer2">
4.flash

="http://www.macromedia.com
/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="width_num" height="height_num" play="true" loop="true"
quality="high" scale="showall" menu="true">
5.mpg
height="height_num" type="application/x-mplayer2">
6.mov
src="Filename with full URL" border="0" " width="400" height="300" type="application/x-shockwave-flash" wmode="transparent" document.document.form1.="hight">

="http://www.apple.com/
quicktime/download/indext.html">
7.rm
" height="height_num">



src="Filename with full URL" type="audio/x-pn-realaudio-plugin" autostart="true" nolabels="0" autogotourl="-1">

8.上面的都是使用播放器的,如果只是想播放背景音乐的话可以使用如下简单语句:
loop=1>
loop后面是循环的次数,-1代表无限循环。

最新评论

QQ|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )

GMT+8, 2024-9-29 17:22 , Processed in 0.247489 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

返回顶部