On 07/15/2015 10:42 PM, Jan-Ivar Bruaroey wrote:
Hi,
We intend to un-prefix HTMLMediaElement.srcObject (it currently exists as
HTMLMediaElement.mozSrcObject), even though it only supports a subset of the
types mandated in the spec. [1]
It is a bit unfortunate to expose the property without supporting what is in
the spec atm, but I think it is good enough for now.
-Olli
This means it will support get/set of: MediaStream objects.
This means it will throw TypeError on set of: MediaSource objects, Blob
objects, and File objects, for now.
The intent is still to support these other types eventually. [2]
The reason for doing this now is that this subset of funtionality is believed
to be stable, and is valuable to user-cases in WebRTC and MediaCapture
and Streams.
Bug: https://bugzil.la/1175523
Links:
[1]
https://html.spec.whatwg.org/multipage/embedded-content.html#dom-media-srcobject
[2]
https://html.spec.whatwg.org/multipage/embedded-content.html#media-provider-object
Platform coverage:
All.
Estimated or target release:
ASAP, Q3, 2015
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform