This article needs a technical review. How you can help.
This article needs an editorial review. How you can help.
This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
var mediaStream = HTMLMediaElement.srcObject HTMLMediaElement.srcObject = mediaStream
|WHATWG HTML Living Standard
The definition of 'srcObject' in that specification.
|Living Standard||Initial definition.|
|Feature||Chrome||Firefox (Gecko)||Internet Explorer||Opera||Safari (WebKit)|
|Basic support||52.0||18.0 (18.0)
|Feature||Android||Android Webview||Firefox Mobile (Gecko)||Firefox OS||IE Mobile||Opera Mobile||Safari Mobile||Chrome for Android|
|Basic support||No support||52.0||?||?||?||39||?||52.0|
 Only MediaStream objects are currently supported. MediaSource objects, Blob objects, and File objects, are yet to be supported, and throw TypeError.
 Early versions of Firefox implemented this under the non-standard name