<EMBED>标记语法说明
SRC="文件名称和路径":设置背景音乐的路径和名称;
AUTOSTART="TRUE/FALSE":设置是否音乐文件一传完后就开始播放,默认为FALSE(否)
LOOP=" TRUE/FALSE/整数":设置重播次数,TRUE为无限次重播,FALSE为不重播,LOOP=某个整数,为重播多少次。
VOLUME="0-100":设置音量,默认为系统本身的音量;
STARTTIME="分:秒":设置歌曲开始播放的时间,如STARTTIME="00:20"为从第20秒开始播放;
ENDTIME="分:秒":设置歌曲播放结束的时间 ;
WIDTH和HIGH="整数":设置控制面板的宽和高;
CONTROLS="CONSOLE/SMALLCONSOLE/PLAYBUTTON/PAUSEBUTTON/STOPBUTTON/VOLUMELEVER":设置控制面板的外观 。CONSOLE为正常大小的面板,SMALLCONSOLE为较小的面板,PLAYBUTTON为显示播放按钮,PAUSEBUTTON为显示暂停按钮, STOPBUTTON为显示停止按钮,VOLUMELEVER为显示音量调节,若要隐藏控制面板可用HIDDEN=TRUE。
function stopWarnSoun(alertSoundId) {
var sound = document.getElementById(alertSoundId);
if (sound != null) {
sound.stop();
}
}
<input type ="button" onclick="stopWarnSoun('alertSoundId'); return false;" value="停止报警"/>
<embed id="alertSoundId" src="sound/alert.wav" AUTOSTART="true" LOOP="true" HIDDEN="TRUE">
分享到:
相关推荐
本文介绍了在网页中播放视频的jsp<embed>标签,希望能对在页面上播放视频的朋友一点帮助。
"多媒体标记 " "<BGSOUND> " "<EMBED> " " " " <BGSOUND>: " " " "<BGSOUND> 是用以插入背景音乐,但只适用於 IE,其参数设定不多。如下 " "<BGSOUND src="your.mid" autostart=true loop=infinite> " "src="your....
1,01.zip<br>Output<br>显示所有的调试信息(5KB)<END><br>2,02.zip<br>Some general debugging tips<br>一般的调试技巧(11KB)<END><br>3,03.zip<br>Debugging ISAPI extension<br>调试ISAPI扩展(4KB)<END><br>4,04....
<font face="华文彩云" size="6" color="#FFFFFF">歌曲或音乐名称</font><br><br> ...<EMBED style="FILTER: xray()" src=音乐地址 width=250 height=30 type=audio/x-ms-wma autostart="true" loop="-1"><br><br><br>
29、<embed> 定义外部交互内容或插件。 30、<fieldset> 可将表单内的相关元素分组。 31、<figcaption> 定义 figure 元素的标题。 32、<figure> 定义媒介内容的分组。 33、<footer> 定义section/page的页脚。 34、...
(2KB)<END><br>28,listfind.zip<br>This sample shows how to use the CList<> template. (9KB)<END><br>29,ndbrow.zip<br>This Visual C++ 6 project shows how to create an MDI application that hosts ...
<BR></EMBED> </EMBED></P> <P align=center><IMG height=236 src="http://img237.imageshack.us/img237/1562/pianolr7.gif" width=273><BR><EMBED src=...
<embed src="flvplayer.swf" allowfullscreen="true" flashvars="vcastr_file=7.flv&LogoText=" quality="high" type="application/x-shockwave-flash" ></embed> </object></td> </tr> </table> </div> </body>...
1、下载在水珠swf。(sd.swf)把他上传到 images 目录下。<br> 2、修改index.htm模板<br> <br> 找到:<br> <br> <table cellspacing="{TABLESPACE}" cellpadding="...></embed></object> </div>
<li><a href="../menu/embed.html" title="Wrapping text around images">wrapping text</a></li> <li><a href="../menu/form.html" title="Styling forms">styled form</a></li> <li><a href="../menu/nodots....
<br><br>Part 1 – Introduction介绍 <br>Part 2 - .htaccess Commande命令 <br>Part 3 - Password protection密码保护 <br>Part 1 – Introduction介绍<br><br>Introduction 介绍<br><br>In this tutorial you will...
HEIGHT: 83px"><TBODY><TR><TD><EMBED src=播放地址 width=400 height=40 type=audio/mpeg panel="0" autostart="0" loop="true"></TD></TR></TBODY></TABLE>` * 带菜单的播放器代码: `<EMBED pluginspage= width=...
先传附件 是在flash文件 由于附件不知道swf 格式,只好打包上传. 这个flash时钟 支持到点报点功能 整点和半点都报 <div id="这里参照模板设置" class="这里参照模板设置"><h2>时间时钟</h2>.../embed></p></div>
<% '-------------------------------------------------------------------- ' Microsoft ADO ' ' Copyright (c) 1996-1998 Microsoft Corporation. ' ' ' ' ADO constants include file for VBScript ' '---------...
<p>one</p> <div><p>two</p></div> <p>three</p> jQuery 代码: $("div > p"); 结果: [ <p>two</p> ] -------------------------------------------------------------------------------- 在文档的第一个表单...
* <embed src=””></embed>:可以加入多媒体文件,但需要注意,如果添加动画(swf),它会给你自动的宽和高 * marquee direction top/bottom/left /right scrollamount="单位时间内的速度" scrollDelay="滚动延时" ...
<iframe src="show.asp" frameBorder="0" width="500" scrolling="no" height="230"></iframe>
具体参见demo项目:1.pom.xml引入<dependency> <groupId>org.piaohao</groupId> <artifactId>fast-jfinal</artifactId> <version>1.0.3</version></dependency>加入appassembler打包插件<plugin> <groupId>org....
在线载入PDF <!DOCTYPE ... <a href="~/pdf/dtix201406-l.pdf">Click here to download the PDF</a></div> </body> </html>