Firefox gives you the choice whether or not to allow DRM code to be installed on your browser.
This page explains the technical documentation on how to control media in Firefox by using the Media Session API.
Firefox can play HTML5 audio and video content on web pages. Learn about the supported media formats and how to manage them.
This article explains Firefox's virtual reality features and how to manage permissions for websites that ask to access your VR devices.