createMediaElementSource method

MediaElementAudioSourceNode createMediaElementSource(
  1. HTMLMediaElement mediaElement
)

The createMediaElementSource() method of the AudioContext Interface 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

external MediaElementAudioSourceNode createMediaElementSource(
    HTMLMediaElement mediaElement);