package brr

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Media element source nodes.

type opts
val opts : el:Brr_io.Media.El.t -> unit -> opts

opts ~el () are media element source node options with given parameters.

type t

The type for MediaElementAudioSourceNode objects.

val create : context -> opts:opts -> t

create ~opts c creates a media element audio source node.

val as_node : t -> node

as_node n is n as an audio node.

val media_element : t -> Brr_io.Media.El.t

media_element n is the media element of n.

OCaml

Innovation. Community. Security.