[HTMLMediaElement] Reintroduce srcObject

This was removed when mozilla specific extensions were removed. It is not
mozilla specific though and currently the only way to show webcam data in
a video element that I am aware of.
This commit is contained in:
Stefan Lau
2019-01-06 17:07:43 +01:00
parent 5665a0e6c0
commit 0427ede5e9

View File

@ -21,6 +21,8 @@ interface HTMLMediaElement : HTMLElement {
attribute DOMString src;
readonly attribute DOMString currentSrc;
attribute MediaStream? srcObject;
[CEReactions, SetterThrows]
attribute DOMString? crossOrigin;
const unsigned short NETWORK_EMPTY = 0;