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
- The interface defining it,
HTMLMediaElement.