W3cubDocs

/DOM

HTMLMediaElement.crossOrigin

The HTMLMediaElement.crossOrigin property is the CORS setting for this image element. See CORS settings attributes for details.

Specifications

Specification Status Comment
WHATWG HTML Living Standard
The definition of 'HTMLMediaElement.crossOrigin' in that specification.
Living Standard No change from HTML5
HTML5
The definition of 'HTMLMediaElement.crossOrigin' in that specification.
Recommendation Initial definition

Browser compatibility

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari
crossOrigin property (Yes) (Yes) 12.0 (12.0)[1]
22.0 (22.0)
? ? ?
Feature Android Edge Firefox Mobile (Gecko) Firefox OS (Gecko) IE Mobile Opera Mobile Safari Mobile
crossOrigin property (Yes) (Yes) 12.0 (12.0)[1]
22.0 (22.0)
(Yes) ? ? ?

[1] Gecko implements this in lowercase, i.e. crossorigin.

See also

© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/crossOrigin