MF_CROSS_ORIGIN_POLICY enumeration (mfidl.h)

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

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,
  MF_CROSS_ORIGIN_POLICY_ANONYMOUS,
  MF_CROSS_ORIGIN_POLICY_USE_CREDENTIALS
} MF_CROSS_ORIGIN_POLICY;

Constants

Name Description
MF_CROSS_ORIGIN_POLICY_NONE No CORS state.
MF_CROSS_ORIGIN_POLICY_ANONYMOUS 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 Requests for the element will have their mode set to "cors" and their credentials mode set to "include".

Requirements

   
Header mfidl.h