Skip to content

@ralphschuler.webgl shader factory.<internal>.HTMLAudioElement

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: HTMLAudioElement

@ralphschuler/webgl-shader-factory.<internal>.HTMLAudioElement

Provides access to the properties of elements, as well as methods to manipulate them. It derives from the HTMLMediaElement interface.

MDN Reference

Hierarchy

Table of contents

Properties

Methods

Properties

ATTRIBUTE_NODE

Readonly ATTRIBUTE_NODE: 2

Inherited from

HTMLMediaElement.ATTRIBUTE_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16205


CDATA_SECTION_NODE

Readonly CDATA_SECTION_NODE: 4

node is a CDATASection node.

Inherited from

HTMLMediaElement.CDATA_SECTION_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16209


COMMENT_NODE

Readonly COMMENT_NODE: 8

node is a Comment node.

Inherited from

HTMLMediaElement.COMMENT_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16215


DOCUMENT_FRAGMENT_NODE

Readonly DOCUMENT_FRAGMENT_NODE: 11

node is a DocumentFragment node.

Inherited from

HTMLMediaElement.DOCUMENT_FRAGMENT_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16221


DOCUMENT_NODE

Readonly DOCUMENT_NODE: 9

node is a document.

Inherited from

HTMLMediaElement.DOCUMENT_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16217


DOCUMENT_POSITION_CONTAINED_BY

Readonly DOCUMENT_POSITION_CONTAINED_BY: 16

Set when other is a descendant of node.

Inherited from

HTMLMediaElement.DOCUMENT_POSITION_CONTAINED_BY

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16232


DOCUMENT_POSITION_CONTAINS

Readonly DOCUMENT_POSITION_CONTAINS: 8

Set when other is an ancestor of node.

Inherited from

HTMLMediaElement.DOCUMENT_POSITION_CONTAINS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16230


DOCUMENT_POSITION_DISCONNECTED

Readonly DOCUMENT_POSITION_DISCONNECTED: 1

Set when node and other are not in the same tree.

Inherited from

HTMLMediaElement.DOCUMENT_POSITION_DISCONNECTED

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16224


DOCUMENT_POSITION_FOLLOWING

Readonly DOCUMENT_POSITION_FOLLOWING: 4

Set when other is following node.

Inherited from

HTMLMediaElement.DOCUMENT_POSITION_FOLLOWING

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16228


DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

Readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32

Inherited from

HTMLMediaElement.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16233


DOCUMENT_POSITION_PRECEDING

Readonly DOCUMENT_POSITION_PRECEDING: 2

Set when other is preceding node.

Inherited from

HTMLMediaElement.DOCUMENT_POSITION_PRECEDING

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16226


DOCUMENT_TYPE_NODE

Readonly DOCUMENT_TYPE_NODE: 10

node is a doctype.

Inherited from

HTMLMediaElement.DOCUMENT_TYPE_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16219


ELEMENT_NODE

Readonly ELEMENT_NODE: 1

node is an element.

Inherited from

HTMLMediaElement.ELEMENT_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16204


ENTITY_NODE

Readonly ENTITY_NODE: 6

Inherited from

HTMLMediaElement.ENTITY_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16211


ENTITY_REFERENCE_NODE

Readonly ENTITY_REFERENCE_NODE: 5

Inherited from

HTMLMediaElement.ENTITY_REFERENCE_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16210


HAVE_CURRENT_DATA

Readonly HAVE_CURRENT_DATA: 2

Inherited from

HTMLMediaElement.HAVE_CURRENT_DATA

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11578


HAVE_ENOUGH_DATA

Readonly HAVE_ENOUGH_DATA: 4

Inherited from

HTMLMediaElement.HAVE_ENOUGH_DATA

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11580


HAVE_FUTURE_DATA

Readonly HAVE_FUTURE_DATA: 3

Inherited from

HTMLMediaElement.HAVE_FUTURE_DATA

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11579


HAVE_METADATA

Readonly HAVE_METADATA: 1

Inherited from

HTMLMediaElement.HAVE_METADATA

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11577


HAVE_NOTHING

Readonly HAVE_NOTHING: 0

Inherited from

HTMLMediaElement.HAVE_NOTHING

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11576


NETWORK_EMPTY

Readonly NETWORK_EMPTY: 0

Inherited from

HTMLMediaElement.NETWORK_EMPTY

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11572


NETWORK_IDLE

Readonly NETWORK_IDLE: 1

Inherited from

HTMLMediaElement.NETWORK_IDLE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11573


NETWORK_LOADING

Readonly NETWORK_LOADING: 2

Inherited from

HTMLMediaElement.NETWORK_LOADING

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11574


NETWORK_NO_SOURCE

Readonly NETWORK_NO_SOURCE: 3

Inherited from

HTMLMediaElement.NETWORK_NO_SOURCE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11575


NOTATION_NODE

Readonly NOTATION_NODE: 12

Inherited from

HTMLMediaElement.NOTATION_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16222


PROCESSING_INSTRUCTION_NODE

Readonly PROCESSING_INSTRUCTION_NODE: 7

node is a ProcessingInstruction node.

Inherited from

HTMLMediaElement.PROCESSING_INSTRUCTION_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16213


TEXT_NODE

Readonly TEXT_NODE: 3

node is a Text node.

Inherited from

HTMLMediaElement.TEXT_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16207


accessKey

accessKey: string

MDN Reference

Inherited from

HTMLMediaElement.accessKey

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10053


accessKeyLabel

Readonly accessKeyLabel: string

MDN Reference

Inherited from

HTMLMediaElement.accessKeyLabel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10055


ariaAtomic

ariaAtomic: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaAtomic

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2209


ariaAutoComplete

ariaAutoComplete: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaAutoComplete

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2211


ariaBusy

ariaBusy: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaBusy

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2213


ariaChecked

ariaChecked: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaChecked

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2215


ariaColCount

ariaColCount: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaColCount

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2217


ariaColIndex

ariaColIndex: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaColIndex

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2219


ariaColSpan

ariaColSpan: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaColSpan

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2221


ariaCurrent

ariaCurrent: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaCurrent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2223


ariaDisabled

ariaDisabled: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaDisabled

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2225


ariaExpanded

ariaExpanded: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaExpanded

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2227


ariaHasPopup

ariaHasPopup: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaHasPopup

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2229


ariaHidden

ariaHidden: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaHidden

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2231


ariaInvalid

ariaInvalid: null | string

Inherited from

HTMLMediaElement.ariaInvalid

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2232


ariaKeyShortcuts

ariaKeyShortcuts: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaKeyShortcuts

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2234


ariaLabel

ariaLabel: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaLabel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2236


ariaLevel

ariaLevel: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaLevel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2238


ariaLive

ariaLive: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaLive

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2240


ariaModal

ariaModal: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaModal

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2242


ariaMultiLine

ariaMultiLine: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaMultiLine

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2244


ariaMultiSelectable

ariaMultiSelectable: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaMultiSelectable

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2246


ariaOrientation

ariaOrientation: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaOrientation

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2248


ariaPlaceholder

ariaPlaceholder: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaPlaceholder

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2250


ariaPosInSet

ariaPosInSet: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaPosInSet

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2252


ariaPressed

ariaPressed: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaPressed

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2254


ariaReadOnly

ariaReadOnly: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaReadOnly

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2256


ariaRequired

ariaRequired: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaRequired

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2258


ariaRoleDescription

ariaRoleDescription: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaRoleDescription

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2260


ariaRowCount

ariaRowCount: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaRowCount

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2262


ariaRowIndex

ariaRowIndex: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaRowIndex

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2264


ariaRowSpan

ariaRowSpan: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaRowSpan

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2266


ariaSelected

ariaSelected: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaSelected

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2268


ariaSetSize

ariaSetSize: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaSetSize

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2270


ariaSort

ariaSort: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaSort

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2272


ariaValueMax

ariaValueMax: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaValueMax

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2274


ariaValueMin

ariaValueMin: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaValueMin

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2276


ariaValueNow

ariaValueNow: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaValueNow

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2278


ariaValueText

ariaValueText: null | string

MDN Reference

Inherited from

HTMLMediaElement.ariaValueText

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2280


assignedSlot

Readonly assignedSlot: null | HTMLSlotElement

MDN Reference

Inherited from

HTMLMediaElement.assignedSlot

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21296


attributeStyleMap

Readonly attributeStyleMap: StylePropertyMap

Inherited from

HTMLMediaElement.attributeStyleMap

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7855


attributes

Readonly attributes: NamedNodeMap

MDN Reference

Inherited from

HTMLMediaElement.attributes

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7600


autocapitalize

autocapitalize: string

Inherited from

HTMLMediaElement.autocapitalize

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10056


autofocus

autofocus: boolean

Inherited from

HTMLMediaElement.autofocus

Defined in

node_modules/typescript/lib/lib.dom.d.ts:12045


autoplay

autoplay: boolean

Gets or sets a value that indicates whether to start playing the media automatically.

MDN Reference

Inherited from

HTMLMediaElement.autoplay

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11398


baseURI

Readonly baseURI: string

Returns node's node document's document base URL.

MDN Reference

Inherited from

HTMLMediaElement.baseURI

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16074


buffered

Readonly buffered: TimeRanges

Gets a collection of buffered time ranges.

MDN Reference

Inherited from

HTMLMediaElement.buffered

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11404


childElementCount

Readonly childElementCount: number

MDN Reference

Inherited from

HTMLMediaElement.childElementCount

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16763


childNodes

Readonly childNodes: NodeListOf<ChildNode>

Returns the children.

MDN Reference

Inherited from

HTMLMediaElement.childNodes

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16080


children

Readonly children: HTMLCollection

Returns the child elements.

MDN Reference

Inherited from

HTMLMediaElement.children

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16769


classList

Readonly classList: DOMTokenList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.

MDN Reference

Inherited from

HTMLMediaElement.classList

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7606


className

className: string

Returns the value of element's class content attribute. Can be set to change it.

MDN Reference

Inherited from

HTMLMediaElement.className

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7612


clientHeight

Readonly clientHeight: number

MDN Reference

Inherited from

HTMLMediaElement.clientHeight

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7614


clientLeft

Readonly clientLeft: number

MDN Reference

Inherited from

HTMLMediaElement.clientLeft

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7616


clientTop

Readonly clientTop: number

MDN Reference

Inherited from

HTMLMediaElement.clientTop

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7618


clientWidth

Readonly clientWidth: number

MDN Reference

Inherited from

HTMLMediaElement.clientWidth

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7620


contentEditable

contentEditable: string

MDN Reference

Inherited from

HTMLMediaElement.contentEditable

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7862


controls

controls: boolean

Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).

MDN Reference

Inherited from

HTMLMediaElement.controls

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11410


crossOrigin

crossOrigin: null | string

MDN Reference

Inherited from

HTMLMediaElement.crossOrigin

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11412


currentSrc

Readonly currentSrc: string

Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.

MDN Reference

Inherited from

HTMLMediaElement.currentSrc

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11418


currentTime

currentTime: number

Gets or sets the current playback position, in seconds.

MDN Reference

Inherited from

HTMLMediaElement.currentTime

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11424


dataset

Readonly dataset: DOMStringMap

MDN Reference

Inherited from

HTMLMediaElement.dataset

Defined in

node_modules/typescript/lib/lib.dom.d.ts:12047


defaultMuted

defaultMuted: boolean

MDN Reference

Inherited from

HTMLMediaElement.defaultMuted

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11426


defaultPlaybackRate

defaultPlaybackRate: number

Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.

MDN Reference

Inherited from

HTMLMediaElement.defaultPlaybackRate

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11432


dir

dir: string

MDN Reference

Inherited from

HTMLMediaElement.dir

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10058


disableRemotePlayback

disableRemotePlayback: boolean

MDN Reference

Inherited from

HTMLMediaElement.disableRemotePlayback

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11434


draggable

draggable: boolean

MDN Reference

Inherited from

HTMLMediaElement.draggable

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10060


duration

Readonly duration: number

Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.

MDN Reference

Inherited from

HTMLMediaElement.duration

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11440


ended

Readonly ended: boolean

Gets information about whether the playback has ended or not.

MDN Reference

Inherited from

HTMLMediaElement.ended

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11446


enterKeyHint

enterKeyHint: string

MDN Reference

Inherited from

HTMLMediaElement.enterKeyHint

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7864


error

Readonly error: null | MediaError

Returns an object representing the current error state of the audio or video element.

MDN Reference

Inherited from

HTMLMediaElement.error

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11452


firstChild

Readonly firstChild: null | ChildNode

Returns the first child.

MDN Reference

Inherited from

HTMLMediaElement.firstChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16086


firstElementChild

Readonly firstElementChild: null | Element

Returns the first child that is an element, and null otherwise.

MDN Reference

Inherited from

HTMLMediaElement.firstElementChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16775


hidden

hidden: boolean

MDN Reference

Inherited from

HTMLMediaElement.hidden

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10062


id

id: string

Returns the value of element's id content attribute. Can be set to change it.

MDN Reference

Inherited from

HTMLMediaElement.id

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7626


inert

inert: boolean

MDN Reference

Inherited from

HTMLMediaElement.inert

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10064


innerHTML

innerHTML: string

MDN Reference

Inherited from

HTMLMediaElement.innerHTML

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14279


innerText

innerText: string

MDN Reference

Inherited from

HTMLMediaElement.innerText

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10066


inputMode

inputMode: string

MDN Reference

Inherited from

HTMLMediaElement.inputMode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7866


isConnected

Readonly isConnected: boolean

Returns true if node is connected and false otherwise.

MDN Reference

Inherited from

HTMLMediaElement.isConnected

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16092


isContentEditable

Readonly isContentEditable: boolean

MDN Reference

Inherited from

HTMLMediaElement.isContentEditable

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7868


lang

lang: string

MDN Reference

Inherited from

HTMLMediaElement.lang

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10068


lastChild

Readonly lastChild: null | ChildNode

Returns the last child.

MDN Reference

Inherited from

HTMLMediaElement.lastChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16098


lastElementChild

Readonly lastElementChild: null | Element

Returns the last child that is an element, and null otherwise.

MDN Reference

Inherited from

HTMLMediaElement.lastElementChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16781


localName

Readonly localName: string

Returns the local name.

MDN Reference

Inherited from

HTMLMediaElement.localName

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7632


loop

loop: boolean

Gets or sets a flag to specify whether playback should restart after it completes.

MDN Reference

Inherited from

HTMLMediaElement.loop

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11458


mediaKeys

Readonly mediaKeys: null | MediaKeys

Available only in secure contexts.

MDN Reference

Inherited from

HTMLMediaElement.mediaKeys

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11464


muted

muted: boolean

Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.

MDN Reference

Inherited from

HTMLMediaElement.muted

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11470


namespaceURI

Readonly namespaceURI: null | string

Returns the namespace.

MDN Reference

Inherited from

HTMLMediaElement.namespaceURI

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7638


networkState

Readonly networkState: number

Gets the current network activity for the element.

MDN Reference

Inherited from

HTMLMediaElement.networkState

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11476


nextElementSibling

Readonly nextElementSibling: null | Element

Returns the first following sibling that is an element, and null otherwise.

MDN Reference

Inherited from

HTMLMediaElement.nextElementSibling

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16354


nextSibling

Readonly nextSibling: null | ChildNode

Returns the next sibling.

MDN Reference

Inherited from

HTMLMediaElement.nextSibling

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16104


nodeName

Readonly nodeName: string

Returns a string appropriate for the type of node.

MDN Reference

Inherited from

HTMLMediaElement.nodeName

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16110


nodeType

Readonly nodeType: number

Returns the type of node.

MDN Reference

Inherited from

HTMLMediaElement.nodeType

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16116


nodeValue

nodeValue: null | string

MDN Reference

Inherited from

HTMLMediaElement.nodeValue

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16118


nonce

Optional nonce: string

MDN Reference

Inherited from

HTMLMediaElement.nonce

Defined in

node_modules/typescript/lib/lib.dom.d.ts:12049


offsetHeight

Readonly offsetHeight: number

MDN Reference

Inherited from

HTMLMediaElement.offsetHeight

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10070


offsetLeft

Readonly offsetLeft: number

MDN Reference

Inherited from

HTMLMediaElement.offsetLeft

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10072


offsetParent

Readonly offsetParent: null | Element

MDN Reference

Inherited from

HTMLMediaElement.offsetParent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10074


offsetTop

Readonly offsetTop: number

MDN Reference

Inherited from

HTMLMediaElement.offsetTop

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10076


offsetWidth

Readonly offsetWidth: number

MDN Reference

Inherited from

HTMLMediaElement.offsetWidth

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10078


onabort

onabort: null | (this: GlobalEventHandlers, ev: UIEvent) => any

Fires when the user aborts the download.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onabort

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8948


onanimationcancel

onanimationcancel: null | (this: GlobalEventHandlers, ev: AnimationEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onanimationcancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8950


onanimationend

onanimationend: null | (this: GlobalEventHandlers, ev: AnimationEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onanimationend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8952


onanimationiteration

onanimationiteration: null | (this: GlobalEventHandlers, ev: AnimationEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onanimationiteration

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8954


onanimationstart

onanimationstart: null | (this: GlobalEventHandlers, ev: AnimationEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onanimationstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8956


onauxclick

onauxclick: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onauxclick

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8958


onbeforeinput

onbeforeinput: null | (this: GlobalEventHandlers, ev: InputEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onbeforeinput

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8960


onblur

onblur: null | (this: GlobalEventHandlers, ev: FocusEvent) => any

Fires when the object loses the input focus.

Param

The focus event.

MDN Reference

Inherited from

HTMLMediaElement.onblur

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8967


oncancel

oncancel: null | (this: GlobalEventHandlers, ev: Event) => any

MDN Reference

Inherited from

HTMLMediaElement.oncancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8969


oncanplay

oncanplay: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs when playback is possible, but would require further buffering.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.oncanplay

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8976


oncanplaythrough

oncanplaythrough: null | (this: GlobalEventHandlers, ev: Event) => any

MDN Reference

Inherited from

HTMLMediaElement.oncanplaythrough

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8978


onchange

onchange: null | (this: GlobalEventHandlers, ev: Event) => any

Fires when the contents of the object or selection have changed.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8985


onclick

onclick: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

Fires when the user clicks the left mouse button on the object

Param

The mouse event.

MDN Reference

Inherited from

HTMLMediaElement.onclick

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8992


onclose

onclose: null | (this: GlobalEventHandlers, ev: Event) => any

MDN Reference

Inherited from

HTMLMediaElement.onclose

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8994


oncontextmenu

oncontextmenu: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

Fires when the user clicks the right mouse button in the client area, opening the context menu.

Param

The mouse event.

MDN Reference

Inherited from

HTMLMediaElement.oncontextmenu

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9001


oncopy

oncopy: null | (this: GlobalEventHandlers, ev: ClipboardEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.oncopy

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9003


oncuechange

oncuechange: null | (this: GlobalEventHandlers, ev: Event) => any

MDN Reference

Inherited from

HTMLMediaElement.oncuechange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9005


oncut

oncut: null | (this: GlobalEventHandlers, ev: ClipboardEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.oncut

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9007


ondblclick

ondblclick: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

Fires when the user double-clicks the object.

Param

The mouse event.

MDN Reference

Inherited from

HTMLMediaElement.ondblclick

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9014


ondrag

ondrag: null | (this: GlobalEventHandlers, ev: DragEvent) => any

Fires on the source object continuously during a drag operation.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.ondrag

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9021


ondragend

ondragend: null | (this: GlobalEventHandlers, ev: DragEvent) => any

Fires on the source object when the user releases the mouse at the close of a drag operation.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.ondragend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9028


ondragenter

ondragenter: null | (this: GlobalEventHandlers, ev: DragEvent) => any

Fires on the target element when the user drags the object to a valid drop target.

Param

The drag event.

MDN Reference

Inherited from

HTMLMediaElement.ondragenter

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9035


ondragleave

ondragleave: null | (this: GlobalEventHandlers, ev: DragEvent) => any

Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.

Param

The drag event.

MDN Reference

Inherited from

HTMLMediaElement.ondragleave

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9042


ondragover

ondragover: null | (this: GlobalEventHandlers, ev: DragEvent) => any

Fires on the target element continuously while the user drags the object over a valid drop target.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.ondragover

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9049


ondragstart

ondragstart: null | (this: GlobalEventHandlers, ev: DragEvent) => any

Fires on the source object when the user starts to drag a text selection or selected object.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.ondragstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9056


ondrop

ondrop: null | (this: GlobalEventHandlers, ev: DragEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.ondrop

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9058


ondurationchange

ondurationchange: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs when the duration attribute is updated.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.ondurationchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9065


onemptied

onemptied: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs when the media element is reset to its initial state.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onemptied

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9072


onencrypted

onencrypted: null | (this: HTMLMediaElement, ev: MediaEncryptedEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onencrypted

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11478


onended

onended: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs when the end of playback is reached.

Param

The event

MDN Reference

Inherited from

HTMLMediaElement.onended

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9079


onerror

onerror: OnErrorEventHandler

Fires when an error occurs during object loading.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onerror

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9086


onfocus

onfocus: null | (this: GlobalEventHandlers, ev: FocusEvent) => any

Fires when the object receives focus.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onfocus

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9093


onformdata

onformdata: null | (this: GlobalEventHandlers, ev: FormDataEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onformdata

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9095


onfullscreenchange

onfullscreenchange: null | (this: Element, ev: Event) => any

MDN Reference

Inherited from

HTMLMediaElement.onfullscreenchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7640


onfullscreenerror

onfullscreenerror: null | (this: Element, ev: Event) => any

MDN Reference

Inherited from

HTMLMediaElement.onfullscreenerror

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7642


ongotpointercapture

ongotpointercapture: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.ongotpointercapture

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9097


oninput

oninput: null | (this: GlobalEventHandlers, ev: Event) => any

MDN Reference

Inherited from

HTMLMediaElement.oninput

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9099


oninvalid

oninvalid: null | (this: GlobalEventHandlers, ev: Event) => any

MDN Reference

Inherited from

HTMLMediaElement.oninvalid

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9101


onkeydown

onkeydown: null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any

Fires when the user presses a key.

Param

The keyboard event

MDN Reference

Inherited from

HTMLMediaElement.onkeydown

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9108


onkeypress

onkeypress: null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any

Fires when the user presses an alphanumeric key.

Param

The event.

Deprecated

MDN Reference

Inherited from

HTMLMediaElement.onkeypress

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9116


onkeyup

onkeyup: null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any

Fires when the user releases a key.

Param

The keyboard event

MDN Reference

Inherited from

HTMLMediaElement.onkeyup

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9123


onload

onload: null | (this: GlobalEventHandlers, ev: Event) => any

Fires immediately after the browser loads the object.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onload

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9130


onloadeddata

onloadeddata: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs when media data is loaded at the current playback position.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onloadeddata

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9137


onloadedmetadata

onloadedmetadata: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs when the duration and dimensions of the media have been determined.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onloadedmetadata

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9144


onloadstart

onloadstart: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs when Internet Explorer begins looking for media data.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onloadstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9151


onlostpointercapture

onlostpointercapture: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onlostpointercapture

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9153


onmousedown

onmousedown: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

Fires when the user clicks the object with either mouse button.

Param

The mouse event.

MDN Reference

Inherited from

HTMLMediaElement.onmousedown

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9160


onmouseenter

onmouseenter: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onmouseenter

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9162


onmouseleave

onmouseleave: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onmouseleave

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9164


onmousemove

onmousemove: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

Fires when the user moves the mouse over the object.

Param

The mouse event.

MDN Reference

Inherited from

HTMLMediaElement.onmousemove

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9171


onmouseout

onmouseout: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

Fires when the user moves the mouse pointer outside the boundaries of the object.

Param

The mouse event.

MDN Reference

Inherited from

HTMLMediaElement.onmouseout

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9178


onmouseover

onmouseover: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

Fires when the user moves the mouse pointer into the object.

Param

The mouse event.

MDN Reference

Inherited from

HTMLMediaElement.onmouseover

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9185


onmouseup

onmouseup: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

Fires when the user releases a mouse button while the mouse is over the object.

Param

The mouse event.

MDN Reference

Inherited from

HTMLMediaElement.onmouseup

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9192


onpaste

onpaste: null | (this: GlobalEventHandlers, ev: ClipboardEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onpaste

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9194


onpause

onpause: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs when playback is paused.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onpause

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9201


onplay

onplay: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs when the play method is requested.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onplay

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9208


onplaying

onplaying: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs when the audio or video has started playing.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onplaying

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9215


onpointercancel

onpointercancel: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onpointercancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9217


onpointerdown

onpointerdown: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onpointerdown

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9219


onpointerenter

onpointerenter: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onpointerenter

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9221


onpointerleave

onpointerleave: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onpointerleave

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9223


onpointermove

onpointermove: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onpointermove

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9225


onpointerout

onpointerout: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onpointerout

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9227


onpointerover

onpointerover: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onpointerover

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9229


onpointerup

onpointerup: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onpointerup

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9231


onprogress

onprogress: null | (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any

Occurs to indicate progress while downloading media data.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onprogress

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9238


onratechange

onratechange: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs when the playback rate is increased or decreased.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onratechange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9245


onreset

onreset: null | (this: GlobalEventHandlers, ev: Event) => any

Fires when the user resets a form.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onreset

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9252


onresize

onresize: null | (this: GlobalEventHandlers, ev: UIEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onresize

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9254


onscroll

onscroll: null | (this: GlobalEventHandlers, ev: Event) => any

Fires when the user repositions the scroll box in the scroll bar on the object.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onscroll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9261


onscrollend

onscrollend: null | (this: GlobalEventHandlers, ev: Event) => any

MDN Reference

Inherited from

HTMLMediaElement.onscrollend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9263


onsecuritypolicyviolation

onsecuritypolicyviolation: null | (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onsecuritypolicyviolation

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9265


onseeked

onseeked: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs when the seek operation ends.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onseeked

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9272


onseeking

onseeking: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs when the current playback position is moved.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onseeking

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9279


onselect

onselect: null | (this: GlobalEventHandlers, ev: Event) => any

Fires when the current selection changes.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onselect

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9286


onselectionchange

onselectionchange: null | (this: GlobalEventHandlers, ev: Event) => any

MDN Reference

Inherited from

HTMLMediaElement.onselectionchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9288


onselectstart

onselectstart: null | (this: GlobalEventHandlers, ev: Event) => any

MDN Reference

Inherited from

HTMLMediaElement.onselectstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9290


onslotchange

onslotchange: null | (this: GlobalEventHandlers, ev: Event) => any

MDN Reference

Inherited from

HTMLMediaElement.onslotchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9292


onstalled

onstalled: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs when the download has stopped.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onstalled

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9299


onsubmit

onsubmit: null | (this: GlobalEventHandlers, ev: SubmitEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onsubmit

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9301


onsuspend

onsuspend: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs if the load operation has been intentionally halted.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onsuspend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9308


ontimeupdate

ontimeupdate: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs to indicate the current playback position.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.ontimeupdate

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9315


ontoggle

ontoggle: null | (this: GlobalEventHandlers, ev: Event) => any

MDN Reference

Inherited from

HTMLMediaElement.ontoggle

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9317


ontouchcancel

Optional ontouchcancel: null | (this: GlobalEventHandlers, ev: TouchEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.ontouchcancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9319


ontouchend

Optional ontouchend: null | (this: GlobalEventHandlers, ev: TouchEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.ontouchend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9321


ontouchmove

Optional ontouchmove: null | (this: GlobalEventHandlers, ev: TouchEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.ontouchmove

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9323


ontouchstart

Optional ontouchstart: null | (this: GlobalEventHandlers, ev: TouchEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.ontouchstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9325


ontransitioncancel

ontransitioncancel: null | (this: GlobalEventHandlers, ev: TransitionEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.ontransitioncancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9327


ontransitionend

ontransitionend: null | (this: GlobalEventHandlers, ev: TransitionEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.ontransitionend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9329


ontransitionrun

ontransitionrun: null | (this: GlobalEventHandlers, ev: TransitionEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.ontransitionrun

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9331


ontransitionstart

ontransitionstart: null | (this: GlobalEventHandlers, ev: TransitionEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.ontransitionstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9333


onvolumechange

onvolumechange: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs when the volume is changed, or playback is muted or unmuted.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onvolumechange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9340


onwaiting

onwaiting: null | (this: GlobalEventHandlers, ev: Event) => any

Occurs when playback stops because the next frame of a video resource is not available.

Param

The event.

MDN Reference

Inherited from

HTMLMediaElement.onwaiting

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9347


onwaitingforkey

onwaitingforkey: null | (this: HTMLMediaElement, ev: Event) => any

MDN Reference

Inherited from

HTMLMediaElement.onwaitingforkey

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11480


onwebkitanimationend

onwebkitanimationend: null | (this: GlobalEventHandlers, ev: Event) => any

Deprecated

This is a legacy alias of onanimationend.

MDN Reference

Inherited from

HTMLMediaElement.onwebkitanimationend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9353


onwebkitanimationiteration

onwebkitanimationiteration: null | (this: GlobalEventHandlers, ev: Event) => any

Deprecated

This is a legacy alias of onanimationiteration.

MDN Reference

Inherited from

HTMLMediaElement.onwebkitanimationiteration

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9359


onwebkitanimationstart

onwebkitanimationstart: null | (this: GlobalEventHandlers, ev: Event) => any

Deprecated

This is a legacy alias of onanimationstart.

MDN Reference

Inherited from

HTMLMediaElement.onwebkitanimationstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9365


onwebkittransitionend

onwebkittransitionend: null | (this: GlobalEventHandlers, ev: Event) => any

Deprecated

This is a legacy alias of ontransitionend.

MDN Reference

Inherited from

HTMLMediaElement.onwebkittransitionend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9371


onwheel

onwheel: null | (this: GlobalEventHandlers, ev: WheelEvent) => any

MDN Reference

Inherited from

HTMLMediaElement.onwheel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9373


outerHTML

outerHTML: string

MDN Reference

Inherited from

HTMLMediaElement.outerHTML

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7644


outerText

outerText: string

MDN Reference

Inherited from

HTMLMediaElement.outerText

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10080


ownerDocument

Readonly ownerDocument: Document

Inherited from

HTMLMediaElement.ownerDocument

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7645


parentElement

Readonly parentElement: null | HTMLElement

Returns the parent element.

MDN Reference

Inherited from

HTMLMediaElement.parentElement

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16130


parentNode

Readonly parentNode: null | ParentNode

Returns the parent.

MDN Reference

Inherited from

HTMLMediaElement.parentNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16136


part

Readonly part: DOMTokenList

MDN Reference

Inherited from

HTMLMediaElement.part

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7647


paused

Readonly paused: boolean

Gets a flag that specifies whether playback is paused.

MDN Reference

Inherited from

HTMLMediaElement.paused

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11486


playbackRate

playbackRate: number

Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.

MDN Reference

Inherited from

HTMLMediaElement.playbackRate

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11492


played

Readonly played: TimeRanges

Gets TimeRanges for the current media resource that has been played.

MDN Reference

Inherited from

HTMLMediaElement.played

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11498


popover

popover: null | string

MDN Reference

Inherited from

HTMLMediaElement.popover

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10082


prefix

Readonly prefix: null | string

Returns the namespace prefix.

MDN Reference

Inherited from

HTMLMediaElement.prefix

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7653


preload

preload: "" | "auto" | "none" | "metadata"

Gets or sets a value indicating what data should be preloaded, if any.

MDN Reference

Inherited from

HTMLMediaElement.preload

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11504


preservesPitch

preservesPitch: boolean

MDN Reference

Inherited from

HTMLMediaElement.preservesPitch

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11506


previousElementSibling

Readonly previousElementSibling: null | Element

Returns the first preceding sibling that is an element, and null otherwise.

MDN Reference

Inherited from

HTMLMediaElement.previousElementSibling

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16360


previousSibling

Readonly previousSibling: null | ChildNode

Returns the previous sibling.

MDN Reference

Inherited from

HTMLMediaElement.previousSibling

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16142


readyState

Readonly readyState: number

MDN Reference

Inherited from

HTMLMediaElement.readyState

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11508


remote

Readonly remote: RemotePlayback

Inherited from

HTMLMediaElement.remote

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11509


role

role: null | string

Inherited from

HTMLMediaElement.role

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2281


scrollHeight

Readonly scrollHeight: number

MDN Reference

Inherited from

HTMLMediaElement.scrollHeight

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7655


scrollLeft

scrollLeft: number

MDN Reference

Inherited from

HTMLMediaElement.scrollLeft

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7657


scrollTop

scrollTop: number

MDN Reference

Inherited from

HTMLMediaElement.scrollTop

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7659


scrollWidth

Readonly scrollWidth: number

MDN Reference

Inherited from

HTMLMediaElement.scrollWidth

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7661


seekable

Readonly seekable: TimeRanges

Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.

MDN Reference

Inherited from

HTMLMediaElement.seekable

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11515


seeking

Readonly seeking: boolean

Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource.

MDN Reference

Inherited from

HTMLMediaElement.seeking

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11521


shadowRoot

Readonly shadowRoot: null | ShadowRoot

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.

MDN Reference

Inherited from

HTMLMediaElement.shadowRoot

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7667


slot

slot: string

Returns the value of element's slot content attribute. Can be set to change it.

MDN Reference

Inherited from

HTMLMediaElement.slot

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7673


spellcheck

spellcheck: boolean

MDN Reference

Inherited from

HTMLMediaElement.spellcheck

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10084


src

src: string

The address or URL of the a media resource that is to be considered.

MDN Reference

Inherited from

HTMLMediaElement.src

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11527


srcObject

srcObject: null | MediaProvider

MDN Reference

Inherited from

HTMLMediaElement.srcObject

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11529


style

Readonly style: CSSStyleDeclaration

MDN Reference

Inherited from

HTMLMediaElement.style

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7857


tabIndex

tabIndex: number

MDN Reference

Inherited from

HTMLMediaElement.tabIndex

Defined in

node_modules/typescript/lib/lib.dom.d.ts:12051


tagName

Readonly tagName: string

Returns the HTML-uppercased qualified name.

MDN Reference

Inherited from

HTMLMediaElement.tagName

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7679


textContent

textContent: null | string

MDN Reference

Inherited from

HTMLMediaElement.textContent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16144


textTracks

Readonly textTracks: TextTrackList

MDN Reference

Inherited from

HTMLMediaElement.textTracks

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11531


title

title: string

MDN Reference

Inherited from

HTMLMediaElement.title

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10086


translate

translate: boolean

Inherited from

HTMLMediaElement.translate

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10087


volume

volume: number

Gets or sets the volume level for audio portions of the media element.

MDN Reference

Inherited from

HTMLMediaElement.volume

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11537

Methods

addEventListener

addEventListener<K>(type, listener, options?): void

Type parameters

Name Type
K extends keyof HTMLMediaElementEventMap

Parameters

Name Type
type K
listener (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any
options? boolean | AddEventListenerOptions

Returns

void

Overrides

HTMLMediaElement.addEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9560

addEventListener(type, listener, options?): void

Parameters

Name Type
type string
listener EventListenerOrEventListenerObject
options? boolean | AddEventListenerOptions

Returns

void

Overrides

HTMLMediaElement.addEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9561


addTextTrack

addTextTrack(kind, label?, language?): TextTrack

MDN Reference

Parameters

Name Type
kind TextTrackKind
label? string
language? string

Returns

TextTrack

Inherited from

HTMLMediaElement.addTextTrack

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11539


after

after(...nodes): void

Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

Name Type
...nodes (string | Node)[]

Returns

void

Inherited from

HTMLMediaElement.after

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5599


animate

animate(keyframes, options?): Animation

MDN Reference

Parameters

Name Type
keyframes null | PropertyIndexedKeyframes | Keyframe[]
options? number | KeyframeAnimationOptions

Returns

Animation

Inherited from

HTMLMediaElement.animate

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2431


append

append(...nodes): void

Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

Name Type
...nodes (string | Node)[]

Returns

void

Inherited from

HTMLMediaElement.append

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16789


appendChild

appendChild<T>(node): T

MDN Reference

Type parameters

Name Type
T extends Node

Parameters

Name Type
node T

Returns

T

Inherited from

HTMLMediaElement.appendChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16146


attachInternals

attachInternals(): ElementInternals

MDN Reference

Returns

ElementInternals

Inherited from

HTMLMediaElement.attachInternals

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10089


attachShadow

attachShadow(init): ShadowRoot

Creates a shadow root for element and returns it.

MDN Reference

Parameters

Name Type
init ShadowRootInit

Returns

ShadowRoot

Inherited from

HTMLMediaElement.attachShadow

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7685


before

before(...nodes): void

Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

Name Type
...nodes (string | Node)[]

Returns

void

Inherited from

HTMLMediaElement.before

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5607


blur

blur(): void

MDN Reference

Returns

void

Inherited from

HTMLMediaElement.blur

Defined in

node_modules/typescript/lib/lib.dom.d.ts:12053


canPlayType

canPlayType(type): CanPlayTypeResult

Returns a string that specifies whether the client can play a given media resource type.

MDN Reference

Parameters

Name Type
type string

Returns

CanPlayTypeResult

Inherited from

HTMLMediaElement.canPlayType

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11545


checkVisibility

checkVisibility(options?): boolean

Parameters

Name Type
options? CheckVisibilityOptions

Returns

boolean

Inherited from

HTMLMediaElement.checkVisibility

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7686


click

click(): void

MDN Reference

Returns

void

Inherited from

HTMLMediaElement.click

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10091


cloneNode

cloneNode(deep?): Node

Returns a copy of node. If deep is true, the copy also includes the node's descendants.

MDN Reference

Parameters

Name Type
deep? boolean

Returns

Node

Inherited from

HTMLMediaElement.cloneNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16152


closest

closest<K>(selector): null | HTMLElementTagNameMap[K]

Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.

MDN Reference

Type parameters

Name Type
K extends keyof HTMLElementTagNameMap

Parameters

Name Type
selector K

Returns

null | HTMLElementTagNameMap[K]

Inherited from

HTMLMediaElement.closest

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7692

closest<K>(selector): null | SVGElementTagNameMap[K]

Type parameters

Name Type
K extends keyof SVGElementTagNameMap

Parameters

Name Type
selector K

Returns

null | SVGElementTagNameMap[K]

Inherited from

HTMLMediaElement.closest

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7693

closest<K>(selector): null | MathMLElementTagNameMap[K]

Type parameters

Name Type
K extends keyof MathMLElementTagNameMap

Parameters

Name Type
selector K

Returns

null | MathMLElementTagNameMap[K]

Inherited from

HTMLMediaElement.closest

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7694

closest<E>(selectors): null | E

Type parameters

Name Type
E extends Element = Element

Parameters

Name Type
selectors string

Returns

null | E

Inherited from

HTMLMediaElement.closest

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7695


compareDocumentPosition

compareDocumentPosition(other): number

Returns a bitmask indicating the position of other relative to node.

MDN Reference

Parameters

Name Type
other Node

Returns

number

Inherited from

HTMLMediaElement.compareDocumentPosition

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16158


computedStyleMap

computedStyleMap(): StylePropertyMapReadOnly

MDN Reference

Returns

StylePropertyMapReadOnly

Inherited from

HTMLMediaElement.computedStyleMap

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7697


contains

contains(other): boolean

Returns true if other is an inclusive descendant of node, and false otherwise.

MDN Reference

Parameters

Name Type
other null | Node

Returns

boolean

Inherited from

HTMLMediaElement.contains

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16164


dispatchEvent

dispatchEvent(event): boolean

Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

MDN Reference

Parameters

Name Type
event Event

Returns

boolean

Inherited from

HTMLMediaElement.dispatchEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8217


fastSeek

fastSeek(time): void

MDN Reference

Parameters

Name Type
time number

Returns

void

Inherited from

HTMLMediaElement.fastSeek

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11547


focus

focus(options?): void

MDN Reference

Parameters

Name Type
options? FocusOptions

Returns

void

Inherited from

HTMLMediaElement.focus

Defined in

node_modules/typescript/lib/lib.dom.d.ts:12055


getAnimations

getAnimations(options?): Animation[]

MDN Reference

Parameters

Name Type
options? GetAnimationsOptions

Returns

Animation[]

Inherited from

HTMLMediaElement.getAnimations

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2433


getAttribute

getAttribute(qualifiedName): null | string

Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.

MDN Reference

Parameters

Name Type
qualifiedName string

Returns

null | string

Inherited from

HTMLMediaElement.getAttribute

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7703


getAttributeNS

getAttributeNS(namespace, localName): null | string

Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.

MDN Reference

Parameters

Name Type
namespace null | string
localName string

Returns

null | string

Inherited from

HTMLMediaElement.getAttributeNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7709


getAttributeNames

getAttributeNames(): string[]

Returns the qualified names of all element's attributes. Can contain duplicates.

MDN Reference

Returns

string[]

Inherited from

HTMLMediaElement.getAttributeNames

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7715


getAttributeNode

getAttributeNode(qualifiedName): null | Attr

MDN Reference

Parameters

Name Type
qualifiedName string

Returns

null | Attr

Inherited from

HTMLMediaElement.getAttributeNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7717


getAttributeNodeNS

getAttributeNodeNS(namespace, localName): null | Attr

MDN Reference

Parameters

Name Type
namespace null | string
localName string

Returns

null | Attr

Inherited from

HTMLMediaElement.getAttributeNodeNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7719


getBoundingClientRect

getBoundingClientRect(): DOMRect

MDN Reference

Returns

DOMRect

Inherited from

HTMLMediaElement.getBoundingClientRect

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7721


getClientRects

getClientRects(): DOMRectList

MDN Reference

Returns

DOMRectList

Inherited from

HTMLMediaElement.getClientRects

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7723


getElementsByClassName

getElementsByClassName(classNames): HTMLCollectionOf<Element>

Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.

MDN Reference

Parameters

Name Type
classNames string

Returns

HTMLCollectionOf<Element>

Inherited from

HTMLMediaElement.getElementsByClassName

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7729


getElementsByTagName

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<HTMLElementTagNameMap[K]>

MDN Reference

Type parameters

Name Type
K extends keyof HTMLElementTagNameMap

Parameters

Name Type
qualifiedName K

Returns

HTMLCollectionOf<HTMLElementTagNameMap[K]>

Inherited from

HTMLMediaElement.getElementsByTagName

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7731

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<SVGElementTagNameMap[K]>

Type parameters

Name Type
K extends keyof SVGElementTagNameMap

Parameters

Name Type
qualifiedName K

Returns

HTMLCollectionOf<SVGElementTagNameMap[K]>

Inherited from

HTMLMediaElement.getElementsByTagName

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7732

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<MathMLElementTagNameMap[K]>

Type parameters

Name Type
K extends keyof MathMLElementTagNameMap

Parameters

Name Type
qualifiedName K

Returns

HTMLCollectionOf<MathMLElementTagNameMap[K]>

Inherited from

HTMLMediaElement.getElementsByTagName

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7733

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>

Type parameters

Name Type
K extends keyof HTMLElementDeprecatedTagNameMap

Parameters

Name Type
qualifiedName K

Returns

HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>

Deprecated

Inherited from

HTMLMediaElement.getElementsByTagName

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7735

getElementsByTagName(qualifiedName): HTMLCollectionOf<Element>

Parameters

Name Type
qualifiedName string

Returns

HTMLCollectionOf<Element>

Inherited from

HTMLMediaElement.getElementsByTagName

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7736


getElementsByTagNameNS

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<HTMLElement>

MDN Reference

Parameters

Name Type
namespaceURI "http://www.w3.org/1999/xhtml"
localName string

Returns

HTMLCollectionOf<HTMLElement>

Inherited from

HTMLMediaElement.getElementsByTagNameNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7738

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<SVGElement>

Parameters

Name Type
namespaceURI "http://www.w3.org/2000/svg"
localName string

Returns

HTMLCollectionOf<SVGElement>

Inherited from

HTMLMediaElement.getElementsByTagNameNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7739

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<MathMLElement>

Parameters

Name Type
namespaceURI "http://www.w3.org/1998/Math/MathML"
localName string

Returns

HTMLCollectionOf<MathMLElement>

Inherited from

HTMLMediaElement.getElementsByTagNameNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7740

getElementsByTagNameNS(namespace, localName): HTMLCollectionOf<Element>

Parameters

Name Type
namespace null | string
localName string

Returns

HTMLCollectionOf<Element>

Inherited from

HTMLMediaElement.getElementsByTagNameNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7741


getRootNode

getRootNode(options?): Node

Returns node's root.

MDN Reference

Parameters

Name Type
options? GetRootNodeOptions

Returns

Node

Inherited from

HTMLMediaElement.getRootNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16170


hasAttribute

hasAttribute(qualifiedName): boolean

Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.

MDN Reference

Parameters

Name Type
qualifiedName string

Returns

boolean

Inherited from

HTMLMediaElement.hasAttribute

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7747


hasAttributeNS

hasAttributeNS(namespace, localName): boolean

Returns true if element has an attribute whose namespace is namespace and local name is localName.

MDN Reference

Parameters

Name Type
namespace null | string
localName string

Returns

boolean

Inherited from

HTMLMediaElement.hasAttributeNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7753


hasAttributes

hasAttributes(): boolean

Returns true if element has attributes, and false otherwise.

MDN Reference

Returns

boolean

Inherited from

HTMLMediaElement.hasAttributes

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7759


hasChildNodes

hasChildNodes(): boolean

Returns whether node has children.

MDN Reference

Returns

boolean

Inherited from

HTMLMediaElement.hasChildNodes

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16176


hasPointerCapture

hasPointerCapture(pointerId): boolean

MDN Reference

Parameters

Name Type
pointerId number

Returns

boolean

Inherited from

HTMLMediaElement.hasPointerCapture

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7761


hidePopover

hidePopover(): void

MDN Reference

Returns

void

Inherited from

HTMLMediaElement.hidePopover

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10093


insertAdjacentElement

insertAdjacentElement(where, element): null | Element

MDN Reference

Parameters

Name Type
where InsertPosition
element Element

Returns

null | Element

Inherited from

HTMLMediaElement.insertAdjacentElement

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7763


insertAdjacentHTML

insertAdjacentHTML(position, text): void

MDN Reference

Parameters

Name Type
position InsertPosition
text string

Returns

void

Inherited from

HTMLMediaElement.insertAdjacentHTML

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7765


insertAdjacentText

insertAdjacentText(where, data): void

MDN Reference

Parameters

Name Type
where InsertPosition
data string

Returns

void

Inherited from

HTMLMediaElement.insertAdjacentText

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7767


insertBefore

insertBefore<T>(node, child): T

MDN Reference

Type parameters

Name Type
T extends Node

Parameters

Name Type
node T
child null | Node

Returns

T

Inherited from

HTMLMediaElement.insertBefore

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16178


isDefaultNamespace

isDefaultNamespace(namespace): boolean

MDN Reference

Parameters

Name Type
namespace null | string

Returns

boolean

Inherited from

HTMLMediaElement.isDefaultNamespace

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16180


isEqualNode

isEqualNode(otherNode): boolean

Returns whether node and otherNode have the same properties.

MDN Reference

Parameters

Name Type
otherNode null | Node

Returns

boolean

Inherited from

HTMLMediaElement.isEqualNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16186


isSameNode

isSameNode(otherNode): boolean

MDN Reference

Parameters

Name Type
otherNode null | Node

Returns

boolean

Inherited from

HTMLMediaElement.isSameNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16188


load

load(): void

Resets the audio or video object and loads a new media resource.

MDN Reference

Returns

void

Inherited from

HTMLMediaElement.load

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11553


lookupNamespaceURI

lookupNamespaceURI(prefix): null | string

MDN Reference

Parameters

Name Type
prefix null | string

Returns

null | string

Inherited from

HTMLMediaElement.lookupNamespaceURI

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16190


lookupPrefix

lookupPrefix(namespace): null | string

MDN Reference

Parameters

Name Type
namespace null | string

Returns

null | string

Inherited from

HTMLMediaElement.lookupPrefix

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16192


matches

matches(selectors): boolean

Returns true if matching selectors against element's root yields element, and false otherwise.

MDN Reference

Parameters

Name Type
selectors string

Returns

boolean

Inherited from

HTMLMediaElement.matches

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7773


normalize

normalize(): void

Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.

MDN Reference

Returns

void

Inherited from

HTMLMediaElement.normalize

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16198


pause

pause(): void

Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not.

MDN Reference

Returns

void

Inherited from

HTMLMediaElement.pause

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11559


play

play(): Promise<void>

Loads and starts playback of a media resource.

MDN Reference

Returns

Promise<void>

Inherited from

HTMLMediaElement.play

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11565


prepend

prepend(...nodes): void

Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

Name Type
...nodes (string | Node)[]

Returns

void

Inherited from

HTMLMediaElement.prepend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16797


querySelector

querySelector<K>(selectors): null | HTMLElementTagNameMap[K]

Returns the first element that is a descendant of node that matches selectors.

MDN Reference

Type parameters

Name Type
K extends keyof HTMLElementTagNameMap

Parameters

Name Type
selectors K

Returns

null | HTMLElementTagNameMap[K]

Inherited from

HTMLMediaElement.querySelector

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16803

querySelector<K>(selectors): null | SVGElementTagNameMap[K]

Type parameters

Name Type
K extends keyof SVGElementTagNameMap

Parameters

Name Type
selectors K

Returns

null | SVGElementTagNameMap[K]

Inherited from

HTMLMediaElement.querySelector

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16804

querySelector<K>(selectors): null | MathMLElementTagNameMap[K]

Type parameters

Name Type
K extends keyof MathMLElementTagNameMap

Parameters

Name Type
selectors K

Returns

null | MathMLElementTagNameMap[K]

Inherited from

HTMLMediaElement.querySelector

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16805

querySelector<K>(selectors): null | HTMLElementDeprecatedTagNameMap[K]

Type parameters

Name Type
K extends keyof HTMLElementDeprecatedTagNameMap

Parameters

Name Type
selectors K

Returns

null | HTMLElementDeprecatedTagNameMap[K]

Deprecated

Inherited from

HTMLMediaElement.querySelector

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16807

querySelector<E>(selectors): null | E

Type parameters

Name Type
E extends Element = Element

Parameters

Name Type
selectors string

Returns

null | E

Inherited from

HTMLMediaElement.querySelector

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16808


querySelectorAll

querySelectorAll<K>(selectors): NodeListOf<HTMLElementTagNameMap[K]>

Returns all element descendants of node that match selectors.

MDN Reference

Type parameters

Name Type
K extends keyof HTMLElementTagNameMap

Parameters

Name Type
selectors K

Returns

NodeListOf<HTMLElementTagNameMap[K]>

Inherited from

HTMLMediaElement.querySelectorAll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16814

querySelectorAll<K>(selectors): NodeListOf<SVGElementTagNameMap[K]>

Type parameters

Name Type
K extends keyof SVGElementTagNameMap

Parameters

Name Type
selectors K

Returns

NodeListOf<SVGElementTagNameMap[K]>

Inherited from

HTMLMediaElement.querySelectorAll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16815

querySelectorAll<K>(selectors): NodeListOf<MathMLElementTagNameMap[K]>

Type parameters

Name Type
K extends keyof MathMLElementTagNameMap

Parameters

Name Type
selectors K

Returns

NodeListOf<MathMLElementTagNameMap[K]>

Inherited from

HTMLMediaElement.querySelectorAll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16816

querySelectorAll<K>(selectors): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>

Type parameters

Name Type
K extends keyof HTMLElementDeprecatedTagNameMap

Parameters

Name Type
selectors K

Returns

NodeListOf<HTMLElementDeprecatedTagNameMap[K]>

Deprecated

Inherited from

HTMLMediaElement.querySelectorAll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16818

querySelectorAll<E>(selectors): NodeListOf<E>

Type parameters

Name Type
E extends Element = Element

Parameters

Name Type
selectors string

Returns

NodeListOf<E>

Inherited from

HTMLMediaElement.querySelectorAll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16819


releasePointerCapture

releasePointerCapture(pointerId): void

MDN Reference

Parameters

Name Type
pointerId number

Returns

void

Inherited from

HTMLMediaElement.releasePointerCapture

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7775


remove

remove(): void

Removes node.

MDN Reference

Returns

void

Inherited from

HTMLMediaElement.remove

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5613


removeAttribute

removeAttribute(qualifiedName): void

Removes element's first attribute whose qualified name is qualifiedName.

MDN Reference

Parameters

Name Type
qualifiedName string

Returns

void

Inherited from

HTMLMediaElement.removeAttribute

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7781


removeAttributeNS

removeAttributeNS(namespace, localName): void

Removes element's attribute whose namespace is namespace and local name is localName.

MDN Reference

Parameters

Name Type
namespace null | string
localName string

Returns

void

Inherited from

HTMLMediaElement.removeAttributeNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7787


removeAttributeNode

removeAttributeNode(attr): Attr

MDN Reference

Parameters

Name Type
attr Attr

Returns

Attr

Inherited from

HTMLMediaElement.removeAttributeNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7789


removeChild

removeChild<T>(child): T

MDN Reference

Type parameters

Name Type
T extends Node

Parameters

Name Type
child T

Returns

T

Inherited from

HTMLMediaElement.removeChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16200


removeEventListener

removeEventListener<K>(type, listener, options?): void

Type parameters

Name Type
K extends keyof HTMLMediaElementEventMap

Parameters

Name Type
type K
listener (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any
options? boolean | EventListenerOptions

Returns

void

Overrides

HTMLMediaElement.removeEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9562

removeEventListener(type, listener, options?): void

Parameters

Name Type
type string
listener EventListenerOrEventListenerObject
options? boolean | EventListenerOptions

Returns

void

Overrides

HTMLMediaElement.removeEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9563


replaceChild

replaceChild<T>(node, child): T

MDN Reference

Type parameters

Name Type
T extends Node

Parameters

Name Type
node Node
child T

Returns

T

Inherited from

HTMLMediaElement.replaceChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16202


replaceChildren

replaceChildren(...nodes): void

Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

Name Type
...nodes (string | Node)[]

Returns

void

Inherited from

HTMLMediaElement.replaceChildren

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16827


replaceWith

replaceWith(...nodes): void

Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

Name Type
...nodes (string | Node)[]

Returns

void

Inherited from

HTMLMediaElement.replaceWith

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5621


requestFullscreen

requestFullscreen(options?): Promise<void>

Displays element fullscreen and resolves promise when done.

When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference.

MDN Reference

Parameters

Name Type
options? FullscreenOptions

Returns

Promise<void>

Inherited from

HTMLMediaElement.requestFullscreen

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7797


requestPointerLock

requestPointerLock(): void

MDN Reference

Returns

void

Inherited from

HTMLMediaElement.requestPointerLock

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7799


scroll

scroll(options?): void

MDN Reference

Parameters

Name Type
options? ScrollToOptions

Returns

void

Inherited from

HTMLMediaElement.scroll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7801

scroll(x, y): void

Parameters

Name Type
x number
y number

Returns

void

Inherited from

HTMLMediaElement.scroll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7802


scrollBy

scrollBy(options?): void

MDN Reference

Parameters

Name Type
options? ScrollToOptions

Returns

void

Inherited from

HTMLMediaElement.scrollBy

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7804

scrollBy(x, y): void

Parameters

Name Type
x number
y number

Returns

void

Inherited from

HTMLMediaElement.scrollBy

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7805


scrollIntoView

scrollIntoView(arg?): void

MDN Reference

Parameters

Name Type
arg? boolean | ScrollIntoViewOptions

Returns

void

Inherited from

HTMLMediaElement.scrollIntoView

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7807


scrollTo

scrollTo(options?): void

MDN Reference

Parameters

Name Type
options? ScrollToOptions

Returns

void

Inherited from

HTMLMediaElement.scrollTo

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7809

scrollTo(x, y): void

Parameters

Name Type
x number
y number

Returns

void

Inherited from

HTMLMediaElement.scrollTo

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7810


setAttribute

setAttribute(qualifiedName, value): void

Sets the value of element's first attribute whose qualified name is qualifiedName to value.

MDN Reference

Parameters

Name Type
qualifiedName string
value string

Returns

void

Inherited from

HTMLMediaElement.setAttribute

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7816


setAttributeNS

setAttributeNS(namespace, qualifiedName, value): void

Sets the value of element's attribute whose namespace is namespace and local name is localName to value.

MDN Reference

Parameters

Name Type
namespace null | string
qualifiedName string
value string

Returns

void

Inherited from

HTMLMediaElement.setAttributeNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7822


setAttributeNode

setAttributeNode(attr): null | Attr

MDN Reference

Parameters

Name Type
attr Attr

Returns

null | Attr

Inherited from

HTMLMediaElement.setAttributeNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7824


setAttributeNodeNS

setAttributeNodeNS(attr): null | Attr

MDN Reference

Parameters

Name Type
attr Attr

Returns

null | Attr

Inherited from

HTMLMediaElement.setAttributeNodeNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7826


setMediaKeys

setMediaKeys(mediaKeys): Promise<void>

Available only in secure contexts.

MDN Reference

Parameters

Name Type
mediaKeys null | MediaKeys

Returns

Promise<void>

Inherited from

HTMLMediaElement.setMediaKeys

Defined in

node_modules/typescript/lib/lib.dom.d.ts:11571


setPointerCapture

setPointerCapture(pointerId): void

MDN Reference

Parameters

Name Type
pointerId number

Returns

void

Inherited from

HTMLMediaElement.setPointerCapture

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7828


showPopover

showPopover(): void

MDN Reference

Returns

void

Inherited from

HTMLMediaElement.showPopover

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10095


toggleAttribute

toggleAttribute(qualifiedName, force?): boolean

If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.

Returns true if qualifiedName is now present, and false otherwise.

MDN Reference

Parameters

Name Type
qualifiedName string
force? boolean

Returns

boolean

Inherited from

HTMLMediaElement.toggleAttribute

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7836


togglePopover

togglePopover(force?): void

MDN Reference

Parameters

Name Type
force? boolean

Returns

void

Inherited from

HTMLMediaElement.togglePopover

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10097


webkitMatchesSelector

webkitMatchesSelector(selectors): boolean

Parameters

Name Type
selectors string

Returns

boolean

Deprecated

This is a legacy alias of matches.

MDN Reference

Inherited from

HTMLMediaElement.webkitMatchesSelector

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7842

Typescript Libraries

Modules

Namespaces

Clone this wiki locally