Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Maps to the W3C cross origin settings (CORS) attribute used by the HTML5 media element
Syntax
typedef enum _MF_CROSS_ORIGIN_POLICY {
  MF_CROSS_ORIGIN_POLICY_NONE = 0,
  MF_CROSS_ORIGIN_POLICY_ANONYMOUS = 1,
  MF_CROSS_ORIGIN_POLICY_USE_CREDENTIALS = 2
} MF_CROSS_ORIGIN_POLICY;
Constants
| MF_CROSS_ORIGIN_POLICY_NONEValue: 0 No CORS state. | 
| MF_CROSS_ORIGIN_POLICY_ANONYMOUSValue: 1 Requests for the element will have their mode set to "cors" and their credentials mode set to "same-origin". | 
| MF_CROSS_ORIGIN_POLICY_USE_CREDENTIALSValue: 2 Requests for the element will have their mode set to "cors" and their credentials mode set to "include". | 
Requirements
| Requirement | Value | 
|---|---|
| Header | mfidl.h |