srcObject property
Holds the MediaStream that provides media for this element.
Syntax
| JavaScript |
|---|
ptr = object.srcObject |
Property values
Type: MediaStream
Remarks
The srcObject attribute will override both the src attribute and any <source> elements.
See also
Show: