Skip to main content
Module

x/evt/mod.ts>dom.MediaElementAudioSourceNode

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.MediaElementAudioSourceNode
implements AudioNode
import { type dom } from "https://deno.land/x/evt@v2.4.13/mod.ts";
const { MediaElementAudioSourceNode } = dom;

A MediaElementSourceNode has no inputs and exactly one output, and is created using the AudioContext.createMediaElementSource method. The amount 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.

Properties

readonly
mediaElement: HTMLMediaElement