IMFNetCrossOriginSupport interface (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.]
Implemented by clients that want to enforce a cross origin policy for HTML5 media downloads.
The IMFNetCrossOriginSupport interface inherits from the IUnknown interface. IMFNetCrossOriginSupport also has these types of members:
The IMFNetCrossOriginSupport interface has these methods.
|IMFNetCrossOriginSupport::GetCrossOriginPolicy||Returns the client's current cross-origin policy to apply to the download session.|
|IMFNetCrossOriginSupport::GetSourceOrigin||Returns the W3C origin of the HTML5 media element.|
|IMFNetCrossOriginSupport::IsSameOrigin||Returns true when the specified URL has the same origin as the HTML5 media element.|
The Media Foundation network code uses these client callbacks to implement and enforce cross origin downloads.
|Minimum supported client||Windows 10 [desktop apps only]|
|Minimum supported server||Windows Server 2016 [desktop apps only]|