W3cubDocs

/Web APIs

HTMLMediaElement: crossOrigin property

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

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
crossOrigin 33 13 2212–22 No 20 10 4.4.3 33 2214–22 20 10 2.0

See also

  • HTMLMediaElement: Interface used to define the HTMLMediaElement.crossOrigin property

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/crossOrigin