最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

onmediaerror Event

Internet Development Index

Fires when an element's media file causes any error.

Syntax

Inline HTML<ELEMENT onmediaerror = "handler" ... > All platforms
Event propertyobject.onmediaerror = handlerJScript only
object.onmediaerror = GetRef("handler")Visual Basic Scripting Edition (VBScript) 5.0 or later only
Named script <SCRIPT FOR = object EVENT = onmediaerror> Internet Explorer only

Event Information

BubblesNo
CancelsNo
To invoke Open a page in the browser that contains a media file affected by Introduction to HTML+TIME. The event will fire if there is any problem with the file.
Default action Calls the associated event handler.

Available Properties

Available Properties

Remarks

This event supersedes the onmedialoadfailed event.

Example

This example uses the onmediaerror event to display an error message when the page attempts to load an image from an invalid path.

<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>onmediaerror Event</TITLE>
<STYLE>
.time {behavior: url(#default#time2);}
</STYLE>
<?IMPORT namespace="t" implementation="#default#time2">
</HEAD>
<BODY TOPMARGIN=0 LEFTMARGIN=0 BGPROPERTIES="FIXED" BGCOLOR="#FFFFFF"
LINK="#000000" VLINK="#808080" ALINK="#000000">
<t:img ID="oImg" src="\\some\invalid\path.gif"
onmediaerror="alert('Media Error--Invalid path to image source file!')"
STYLE="position:relative;top:25px;left:50px;height:100px;width:100px;
background-color:yellow">
</t:img>
<t:animation ID="oAnim" targetElement="oImg" to="0,400" dur="2" begin="0"
accelerate="1" autoReverse="true" repeatCount="5"/>
</BODY>
</HTML>
This feature requires Microsoft?Internet Explorer 5.5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

This event is a Microsoft extension to Synchronized Multimedia Integration Language (SMIL) Non-Microsoft link.

Applies To

t:ANIMATION, t:AUDIO, t:EXCL, t:IMG, t:MEDIA, t:PAR, t:REF, t:SEQ, time2, t:VIDEO

See Also

Introduction to HTML+TIME
信阳市| 五华县| 调兵山市| 芒康县| 日土县| 佛冈县| 彭阳县| 高雄县| 绥中县| 罗甸县| 六安市| 噶尔县| 积石山| 建瓯市| 乌拉特前旗| 彰化市| 赤峰市| 许昌市| 沙坪坝区| 乐安县| 绥芬河市| 平武县| 威宁| 绵阳市| 乐安县| 彰化县| 剑川县| 岐山县| 三穗县| 浦北县| 顺义区| 于田县| 亚东县| 卓资县| 同德县| 洪泽县| 丹寨县| 喀喇沁旗| 忻城县| 阿拉善左旗| 循化|