各种媒体在线播放代码
来源:互联网 发布:vmware 的ubuntu 编辑:程序博客网 时间:2024/06/10 05:57
现在有自己blog的人越来越多了,大家也都想在自己的blog上勾画出自己的特色,比如个性的首页、个性的介绍以及向大家推荐自己喜欢的音乐等。为了给大家也给自己提供方便,整理了一些流行格式的在线播放代码,以备添加之用。
【文中的一些标号的说明】
"Filename with full URL"——待播放文件的文件名,前面带上绝对路径,或者本站的相对路径。
width_num——指定一个作为宽度的数字;
height_num——指定一个作为高度的数字;
1.mid
<embed src="Filename with full URL" type="audio/midi" hidden="false" autostart="true" loop="true" height=height_num width=width_num></embed>
2.mp3
<embed controller="true" width="width_num" height="height_num" src="Filename with full URL" border="0" pluginspage="http://www.apple.com/quicktime/download/indext.html"></embed>
3.avi
<embed src="Filename with full URL" border="0" width="width_num" height="height_num" type="application/x-mplayer2"></embed>
4.flash
<embed src="Filename with full URL" pluginspage="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"></embed>
5.mpg
<embed src="Filename with full URL" border="0" width="width_num" height="height_num" type="application/x-mplayer2"></embed>
6.mov
<embed controller="true" width="width_num" height="height_num" src="Filename with full URL" border="0" pluginspage="http://www.apple.com/quicktime/download/indext.html"></embed>
7.rm
<OBJECT>" height="height_num">
<PARAM NAME="CONTROLS" VALUE="ImageWindow">
<PARAM NAME="AUTOSTART" Value="true">
<PARAM NAME="SRC" VALUE="Filename with full URL">
<embed height="height_num" width="width_num" controls="ImageWindow" src="Filename with full URL" type="audio/x-pn-realaudio-plugin" autostart="true" nolabels="0" autogotourl="-1"></OBJECT>
8.上面的都是使用播放器的,如果只是想播放背景音乐的话可以使用如下简单语句:
<bgsound src="Filename with full URL"> loop=1>
loop后面是循环的次数,-1代表无限循环。
- 各种媒体在线播放代码
- 各种媒体在线播放代码
- 各种媒体在线播放代码
- 各种媒体在线播放代码
- 各种媒体在线播放代码
- 各种媒体在线播放代码
- 各种媒体在线播放代码
- 各种媒体在线播放代码
- 各种媒体在线播放代码
- 各种媒体在线播放代码(附在线播放自定义控件)
- 在线播放代码
- 在线播放代码
- 在线播放器代码大全
- 在线播放器代码大全
- 在线播放器代码大全
- 在线播放器代码大全!
- 在线播放器代码大全
- 在线播放各种格式文件代码
- ELF动态解析符号过程(修订版)
- "struts中文问题","struts国际化问题"——终极解决方案
- 实验室召集活动
- 42个著名搜索引擎免费登陆入口大全
- blog搬家
- 各种媒体在线播放代码
- 10月招聘会排期
- facade
- compile the mod_gsoap of apache2 for win32
- JFdraw 一个不错的矢量工具
- 2000/XP命令行一次运行多个命令
- Unresolved Symbol (转)
- C#socket
- Portal学习