createMediaElementSource abstract method

MediaElementAudioSourceNode createMediaElementSource(
  1. MediaElement mediaElement
)

The createMediaElementSource() method of the AudioContext is used to create a new MediaElementAudioSourceNode object, given an existing HTML audio or video element, the audio from which can then be played and manipulated.

For more details about media element audio source nodes, check out the MediaElementAudioSourceNode reference page.

Implementation

MediaElementAudioSourceNode createMediaElementSource(
    MediaElement mediaElement);