Add the canPlayType method, define in 18.104.22.168 as:
The canPlayType(type) method must return the string "no" if type is a type that the user agent knows it cannot render; it must return "probably" if the user agent is confident that the type represents a media resource that it can render if used in with this audio or video element; and it must return "maybe" otherwise. Implementors are encouraged to return "maybe" unless the type can be confidently established as being supported or not. Generally, a user agent should never return "probably" if the type doesn't have a codecs parameter.
Created attachment 28280 [details]
Comment on attachment 28280 [details]
Created attachment 28283 [details]
Patch revised so MediaPlayer::supportsType now takes a ContentType instead of separate type and codecs parameters.
Comment on attachment 28283 [details]
> + static MediaPlayer::SupportsType supportsType(ContentType contentType);
ContentType can be const here
Committed revision 41432.