diff --git a/files/en-us/web/api/htmlmediaelement/index.md b/files/en-us/web/api/htmlmediaelement/index.md index d4c9a2688b42ef6..d59ae111382e2a4 100644 --- a/files/en-us/web/api/htmlmediaelement/index.md +++ b/files/en-us/web/api/htmlmediaelement/index.md @@ -81,7 +81,7 @@ _This interface also inherits properties from its ancestors {{domxref("HTMLEleme - {{domxref("HTMLMediaElement.src")}} - : A string that reflects the [`src`](/en-US/docs/Web/HTML/Element/video#src) HTML attribute, which contains the URL of a media resource to use. - {{domxref("HTMLMediaElement.srcObject")}} - - : A {{domxref('MediaStream')}} representing the media to play or that has played in the current `HTMLMediaElement`, or `null` if not assigned. + - : An object which serves as the source of the media associated with the {{domxref("HTMLMediaElement")}}, or `null` if not assigned. - {{domxref("HTMLMediaElement.textTracks")}} {{ReadOnlyInline}} - : Returns a {{domxref('TextTrackList')}} object containing the list of {{domxref("TextTrack")}} objects contained in the element. - {{domxref("HTMLMediaElement.videoTracks")}} {{ReadOnlyInline}} diff --git a/files/en-us/web/api/htmlmediaelement/srcobject/index.md b/files/en-us/web/api/htmlmediaelement/srcobject/index.md index 6d3edf352326889..0b3b6be5ef5a870 100644 --- a/files/en-us/web/api/htmlmediaelement/srcobject/index.md +++ b/files/en-us/web/api/htmlmediaelement/srcobject/index.md @@ -10,7 +10,7 @@ browser-compat: api.HTMLMediaElement.srcObject The **`srcObject`** property of the {{domxref("HTMLMediaElement")}} interface sets or returns the object which serves as -the source of the media associated with the {{domxref("HTMLMediaElement")}}. +the source of the media associated with the {{domxref("HTMLMediaElement")}}, or `null` if not assigned. The object can be a {{domxref("MediaStream")}}, a {{domxref("MediaSource")}}, a {{domxref("Blob")}}, or a {{domxref("File")}} (which inherits from `Blob`). @@ -22,7 +22,7 @@ The object can be a {{domxref("MediaStream")}}, a {{domxref("MediaSource")}}, a A {{domxref('MediaStream')}}, {{domxref('MediaSource')}}, {{domxref('Blob')}}, or {{domxref('File')}} object (though see the compatibility table for what is actually -supported). +supported), or `null` if not assigned. ## Usage notes