Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The XRMediaBinding
interface is used to create layers that display the content of an HTMLVideoElement
.
Note: Only the video frames will be displayed in the layer. Video controls need to be implemented separately and must be drawn in another layer.