Returns a string that specifies whether the client can play a given media resource type.
retVal = object.canPlayType(type, canPlay);
- type [in]
The mime type of media that the client is being asked to play.
- canPlay [out, retval]
This method does not return a value.
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 184.108.40.206
- How to use HTML5 to play video files on your webpage
- How to use HTML5 to Add an Audio Player to your Webpage
Build date: 11/17/2013