hasPlayList参数属性 | DHTML中文手册 |
Retrieves a Boolean value that indicates whether the element has a playlist collection.
dhtml语法
html n/a scripting [ bmedia = ] object.hasplaylist
dhtml可能的值
bMedia Boolean that receives one of the following values.
true The element has a playList collection. false The element does not have a playList collection. The property is read-only. The property has no default value.
DHTML代码范例
The following brief code sample uses an alert message to show the value of the hasPlayList property.
<HTML XMLNS:t="urn:schemas-microsoft-com:time"> <HEAD> <TITLE>hasPlayList Property</TITLE> <?IMPORT namespace="t" implementation="#default#time2"> <STYLE> .time{ behavior: url(#default#time2);} </STYLE> <SCRIPT> function doFunction(){ alert('hasPlayList: ' + m1.hasPlayList); } </SCRIPT> </HEAD> <BODY TOPMARGIN=0 LEFTMARGIN=0 BGPROPERTIES="FIXED" BGCOLOR="#FFFFFF" LINK="#000000" VLINK="#808080" ALINK="#000000"> <t:media id="m1" begin="0" src="../../common/samples/author/behaviors/media/shuttle3.wmv" onmediacomplete="doFunction();" fill="remove"/> </BODY> </HTML>
applies to
t:AUDIO, t:MEDIA, t:REF, t:VIDEO
更多语法参考
Introduction to HTML+TIME