.srcObject code example

Example 1: .srcObject

The srcObject property of the HTMLMediaElement interface sets or returns the
object which serves as the source of the media associated with the
HTMLMediaElement. The object can be a MediaStream, a MediaSource, a Blob, or a
File (which inherits from Blob).

Example 2: .srcObject

The srcObject property of the HTMLMediaElement interface sets or returns the
object which serves as the source of the media associated with the
HTMLMediaElement. The object can be a MediaStream, a MediaSource, a Blob, or a
File (which inherits from Blob).

Tags:

Misc Example