Loads and starts playback of a media resource.
HRESULT retVal = object.play();
This method has no parameters.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 126.96.36.199
To change the URL that is currently playing, assign it to IHTMLMediaElement::src. This method sets IHTMLMediaElement::paused to FALSE. To change the URL using the source element, call IHTMLMediaElement::load before calling IHTMLMediaElement::play.
- 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
Build date: 11/12/2012