This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The size read-only property of the MediaKeyStatusMap interface returns the number of key/value paIrs in the status map.


var size = MediaKeyStatusMap.size;


A long integer.


Specification Status Comment
Encrypted Media Extensions
The definition of 'size' in that specification.
Recommendation Initial definition.

Browser Compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support4213 ? ?29 ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support4342 Yes ?29 ?4.0

Document Tags and Contributors

Contributors to this page: fscholz, david_ross, jpmedley
Last updated by: fscholz,