主页 > 知识库 > 网页设计之网页音乐的实现技巧

网页设计之网页音乐的实现技巧

热门标签:西安公司外呼系统价格 中国世界文化遗产地图标注 电话外呼系统怎么找准客户 可以集成到系统的外呼 电脑外呼系统安装 400开头电话在哪办理 扬州市地图标注 外呼系统隐私 荆州销售电销机器人

当网页中插入音乐时,要根据不同的后缀名,来写不同的代码!下面面就是多种格式文件的详细使用代码。
注:
"音乐文件和地址"——待播放文件的文件名,前面带上绝对路径,或者本站的相对路径。
 width_num——指定一个作为宽度的数字;
 height_num——指定一个作为高度的数字; 1.mid
<embed src="音乐文件和地址" 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="音乐文件和地址" border="0" pluginspage="http://www.apple.com/quicktime/download/indext.html"></embed> 3.avi
<embed src="音乐文件和地址" border="0" width="width_num" height="height_num" type="application/x-mplayer2"></embed> 4.flash
<embed src="音乐文件和地址" 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="音乐文件和地址" 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="音乐文件和地址" 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="音乐文件和地址">
<embed height="高" width="宽" controls="ImageWindow" src="音乐文件和地址" type="audio/x-pn-realaudio-plugin" autostart="true" nolabels="0" autogotourl="-1"></OBJECT> 8.上面的都是使用播放器的,如果只是想播放背景音乐的话可以使用如下简单语句:
<bgsound src="音乐文件和地址" loop=1>
loop后面是循环的次数,-1代表无限循环。

标签:阿拉善盟 四川 乐山 白银 延安 锡林郭勒盟 济南 贵阳

巨人网络通讯声明:本文标题《网页设计之网页音乐的实现技巧》,本文关键词  网页设计,之,网页,音,乐的,;如发现本文内容存在版权问题,烦请提供相关信息告之我们,我们将及时沟通与处理。本站内容系统采集于网络,涉及言论、版权与本站无关。
  • 相关文章
  • 下面列出与本文章《网页设计之网页音乐的实现技巧》相关的同类信息!
  • 本页收集关于网页设计之网页音乐的实现技巧的相关信息资讯供网民参考!
  • 推荐文章