This topic has not yet been rated - Rate this topic

onplaying event

Occurs when the audio or video has started playing.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.12Internet Explorer 9

Syntax

HTML Attribute <element onplaying = "handler(event)">
Event Property object.onplaying = handler;
attachEvent Method object.attachEvent("onplaying", handler)
addEventListener Method object.addEventListener("playing", handler, useCapture)

Event information

SynchronousNo
BubblesNo
CancelableNo

Event handler parameters

pEvtObj [in]

Type: Event

Standards information

Remarks

To invoke this event, do one of the following:

  • Start playing the media element.

See also

How to use HTML5 to play video files on your webpage
How to use HTML5 to Add an Audio Player to your Webpage
Make your videos accessible with Timed Text Tracks
onplay

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.