MediaKeyStatusMapBaseline Widely availableThis feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2019.Learn moreSee full compatibilityReport feedbackSecure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The MediaKeyStatusMap interface of the Encrypted Media Extensions API is a read-only map of media key statuses by key IDs.Instance properties MediaKeyStatusMap.size Read only Returns the number of key/value pairs in the status map. Instance methods MediaKeyStatusMap.entries() Read only Returns a new Iterator object containing an array of [key, value] for each element in the status map, in insertion order. MediaKeyStatusMap.forEach() Read only Calls callback once for each key-value pair in the status map, in insertion order. If argument is present it will be passed to the callback. MediaKeyStatusMap.get() Read only Returns the value associated with the given key, or undefined if there is none. MediaKeyStatusMap.has() Read only Returns a boolean asserting whether a value has been associated with the given key. MediaKeyStatusMap.keys() Read only Returns a new Iterator object containing keys for each element in the status map, in insertion order. MediaKeyStatusMap.values() Read only Returns a new Iterator object containing values for each element in the status map, in insertion order. MediaKeyStatusMap[Symbol.iterator]() Read only Returns a new Iterator object containing an array of [key, value] for each element in the status map, in insertion order. SpecificationsSpecificationEncrypted Media Extensions # mediakeystatusmap-interfaceBrowser compatibilitydesktopmobileChromeEdgeFirefoxOperaSafariChrome AndroidFirefox for AndroidOpera AndroidSafari on iOSSamsung InternetWebView AndroidWebView on iOSMediaKeyStatusMapChrome – Full supportChrome42Toggle historyEdge – Full supportEdge13Toggle historyFirefox – Full supportFirefox38Toggle historyOpera – Full supportOpera29Toggle historySafari – Full supportSafari12.1Toggle historyChrome Android – Full supportChrome Android42Toggle historyFirefox for Android – Full supportFirefox for Android38Toggle historyOpera Android – Full supportOpera Android29Toggle historySafari on iOS – Full supportSafari on iOS12.2Toggle historySamsung Internet – Full supportSamsung Internet4.0Toggle historyWebView Android – Full supportWebView Android43Toggle historyWebView on iOS – Full supportWebView on iOS12.2Toggle history[Symbol.iterator]Chrome – Full supportChrome42Toggle historyEdge – Full supportEdge16Toggle historyFirefox – Full supportFirefox45Toggle historyOpera – Full supportOpera29Toggle historySafari – Full supportSafari12.1Toggle historyChrome Android – Full supportChrome Android42Toggle historyFirefox for Android – Full supportFirefox for Android45Toggle historyOpera Android – Full supportOpera Android29Toggle historySafari on iOS – Full supportSafari on iOS12.2Toggle historySamsung Internet – Full supportSamsung Internet4.0Toggle historyWebView Android – Full supportWebView Android43Toggle historyWebView on iOS – Full supportWebView on iOS12.2Toggle historyentriesChrome – Full supportChrome42Toggle historyEdge – Full supportEdge16Toggle historyFirefox – Full supportFirefox38Toggle historyOpera – Full supportOpera29Toggle historySafari – Full supportSafari12.1Toggle historyChrome Android – Full supportChrome Android42Toggle historyFirefox for Android – Full supportFirefox for Android38Toggle historyOpera Android – Full supportOpera Android29Toggle historySafari on iOS – Full supportSafari on iOS12.2Toggle historySamsung Internet – Full supportSamsung Internet4.0Toggle historyWebView Android – Full supportWebView Android43Toggle historyWebView on iOS – Full supportWebView on iOS12.2Toggle historyforEachChrome – Full supportChrome42Toggle historyEdge – Full supportEdge13Toggle historyFirefox – Full supportFirefox47Toggle historyOpera – Full supportOpera29Toggle historySafari – Full supportSafari12.1Toggle historyChrome Android – Full supportChrome Android42Toggle historyFirefox for Android – Full supportFirefox for Android47Toggle historyOpera Android – Full supportOpera Android29Toggle historySafari on iOS – Full supportSafari on iOS12.2Toggle historySamsung Internet – Full supportSamsung Internet4.0Toggle historyWebView Android – Full supportWebView Android43Toggle historyWebView on iOS – Full supportWebView on iOS12.2Toggle historygetChrome – Full supportChrome42Toggle historyEdge – Full supportEdge13Toggle historyFirefox – Full supportFirefox45Toggle historyOpera – Full supportOpera29Toggle historySafari – Full supportSafari12.1Toggle historyChrome Android – Full supportChrome Android42Toggle historyFirefox for Android – Full supportFirefox for Android45Toggle historyOpera Android – Full supportOpera Android29Toggle historySafari on iOS – Full supportSafari on iOS12.2Toggle historySamsung Internet – Full supportSamsung Internet4.0Toggle historyWebView Android – Full supportWebView Android43Toggle historyWebView on iOS – Full supportWebView on iOS12.2Toggle historyhasChrome – Full supportChrome42Toggle historyEdge – Full supportEdge13Toggle historyFirefox – Full supportFirefox45Toggle historyOpera – Full supportOpera29Toggle historySafari – Full supportSafari12.1Toggle historyChrome Android – Full supportChrome Android42Toggle historyFirefox for Android – Full supportFirefox for Android45Toggle historyOpera Android – Full supportOpera Android29Toggle historySafari on iOS – Full supportSafari on iOS12.2Toggle historySamsung Internet – Full supportSamsung Internet4.0Toggle historyWebView Android – Full supportWebView Android43Toggle historyWebView on iOS – Full supportWebView on iOS12.2Toggle historykeysChrome – Full supportChrome42Toggle historyEdge – Full supportEdge16Toggle historyFirefox – Full supportFirefox38Toggle historyOpera – Full supportOpera29Toggle historySafari – Full supportSafari12.1Toggle historyChrome Android – Full supportChrome Android42Toggle historyFirefox for Android – Full supportFirefox for Android38Toggle historyOpera Android – Full supportOpera Android29Toggle historySafari on iOS – Full supportSafari on iOS12.2Toggle historySamsung Internet – Full supportSamsung Internet4.0Toggle historyWebView Android – Full supportWebView Android43Toggle historyWebView on iOS – Full supportWebView on iOS12.2Toggle historysizeChrome – Full supportChrome42Toggle historyEdge – Full supportEdge13Toggle historyFirefox – Full supportFirefox38Toggle historyOpera – Full supportOpera29Toggle historySafari – Full supportSafari12.1Toggle historyChrome Android – Full supportChrome Android42Toggle historyFirefox for Android – Full supportFirefox for Android38Toggle historyOpera Android – Full supportOpera Android29Toggle historySafari on iOS – Full supportSafari on iOS12.2Toggle historySamsung Internet – Full supportSamsung Internet4.0Toggle historyWebView Android – Full supportWebView Android43Toggle historyWebView on iOS – Full supportWebView on iOS12.2Toggle historyvaluesChrome – Full supportChrome42Toggle historyEdge – Full supportEdge16Toggle historyFirefox – Full supportFirefox38Toggle historyOpera – Full supportOpera29Toggle historySafari – Full supportSafari12.1Toggle historyChrome Android – Full supportChrome Android42Toggle historyFirefox for Android – Full supportFirefox for Android38Toggle historyOpera Android – Full supportOpera Android29Toggle historySafari on iOS – Full supportSafari on iOS12.2Toggle historySamsung Internet – Full supportSamsung Internet4.0Toggle historyWebView Android – Full supportWebView Android43Toggle historyWebView on iOS – Full supportWebView on iOS12.2Toggle history