Version: 2.67.0

CrossOriginSetting

THEOplayer > CrossOriginSetting

CrossOriginSetting type

The cross-origin setting of a source, represented by a value from the following list:
- 'anonymous': CORS requests will have the credentials flag set to 'same-origin'.
- 'use-credentials': CORS requests will have the credentials flag set to 'include'.
- '': Setting the empty string is the same as 'anonymous'

Signature:
export declare type CrossOriginSetting = '' | 'anonymous' | 'use-credentials';

Remarks


- See [The crossorigin attribute: Requesting CORS access to content](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes)