A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/MediaElementAudioSourceNode below:

MediaElementAudioSourceNode - Web APIs | MDN

MediaElementAudioSourceNode

Baseline Widely available

The MediaElementAudioSourceNode interface represents an audio source consisting of an HTML <audio> or <video> element. It is an AudioNode that acts as an audio source.

A MediaElementAudioSourceNode has no inputs and exactly one output, and is created using the AudioContext.createMediaElementSource() method. The number of channels in the output equals the number of channels of the audio referenced by the HTMLMediaElement used in the creation of the node, or is 1 if the HTMLMediaElement has no audio.

EventTarget AudioNode MediaElementAudioSourceNode Number of inputs 0 Number of outputs 1 Channel count 2 (but note that AudioNode.channelCount is only used for up-mixing and down-mixing AudioNode inputs, and MediaElementAudioSourceNode doesn't have any input) Constructor
MediaElementAudioSourceNode()

Creates a new MediaElementAudioSourceNode object instance.

Instance properties

Inherits properties from its parent, AudioNode.

mediaElement Read only

The HTMLMediaElement used when constructing this MediaStreamAudioSourceNode.

Instance methods

Inherits methods from its parent, AudioNode.

Example

See AudioContext.createMediaElementSource() for example code.

Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3