HTMLMediaElement.crossOrigin

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

Specifications

Specification Status Comment
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

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

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

Document Tags and Contributors

 Contributors to this page: erikadoyle, Sebastianz, markg
 Last updated by: erikadoyle,