Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

playing | 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.12

 

Syntax

Event Property object.onplaying = handler;
addEventListener Method object.addEventListener("playing", handler, useCapture)

 

Event information

SynchronousNo
BubblesNo
CancelableNo

 

Event handler parameters

handler [in]

Type: function

Event handler object.

Standards information

Remarks

To invoke this event, do one of the following:

  • Start playing the media element.

See also

audio
audio
document
source
video element
video object
window
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

 

 

Show:
© 2015 Microsoft