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_NONE Value: 0 No CORS state. |
MF_CROSS_ORIGIN_POLICY_ANONYMOUS Value: 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_CREDENTIALS Value: 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 |