Interface IHtmlMediaElement5
interface IHtmlMediaElement5
Extends IHtmlMediaElement4
Extension to IHtmlMediaElement4 adding method to set source URL
with custom HTTP headers atomically.
Check IW3CMedia5’s documentation for usage example.
Methods
setSrcWithCustomHeaders()
Sets the media source URL along with custom HTTP headers required to download/access the media resource. Headers are tied to this URL and must be rebuilt for each new URL.voidsetSrcWithCustomHeaders(stringurl,ICustomHttpHeaders*headers)
Parameters
url
string — Required
The media source URL
headers
ICustomHttpHeaders* — Required
The custom HTTP headers built via ICustomHttpHeadersBuilder.
Throws InvalidInputError if null.

