Skip to main content

Interface: VideoElement

Hierarchy

  • HTMLVideoElement

    VideoElement

Properties

ATTRIBUTE_NODE

Readonly ATTRIBUTE_NODE: 2

Inherited from

HTMLVideoElement.ATTRIBUTE_NODE


CDATA_SECTION_NODE

Readonly CDATA_SECTION_NODE: 4

node is a CDATASection node.

Inherited from

HTMLVideoElement.CDATA_SECTION_NODE


COMMENT_NODE

Readonly COMMENT_NODE: 8

node is a Comment node.

Inherited from

HTMLVideoElement.COMMENT_NODE


DOCUMENT_FRAGMENT_NODE

Readonly DOCUMENT_FRAGMENT_NODE: 11

node is a DocumentFragment node.

Inherited from

HTMLVideoElement.DOCUMENT_FRAGMENT_NODE


DOCUMENT_NODE

Readonly DOCUMENT_NODE: 9

node is a document.

Inherited from

HTMLVideoElement.DOCUMENT_NODE


DOCUMENT_POSITION_CONTAINED_BY

Readonly DOCUMENT_POSITION_CONTAINED_BY: 16

Set when other is a descendant of node.

Inherited from

HTMLVideoElement.DOCUMENT_POSITION_CONTAINED_BY


DOCUMENT_POSITION_CONTAINS

Readonly DOCUMENT_POSITION_CONTAINS: 8

Set when other is an ancestor of node.

Inherited from

HTMLVideoElement.DOCUMENT_POSITION_CONTAINS


DOCUMENT_POSITION_DISCONNECTED

Readonly DOCUMENT_POSITION_DISCONNECTED: 1

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

Inherited from

HTMLVideoElement.DOCUMENT_POSITION_DISCONNECTED


DOCUMENT_POSITION_FOLLOWING

Readonly DOCUMENT_POSITION_FOLLOWING: 4

Set when other is following node.

Inherited from

HTMLVideoElement.DOCUMENT_POSITION_FOLLOWING


DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

Readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32

Inherited from

HTMLVideoElement.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC


DOCUMENT_POSITION_PRECEDING

Readonly DOCUMENT_POSITION_PRECEDING: 2

Set when other is preceding node.

Inherited from

HTMLVideoElement.DOCUMENT_POSITION_PRECEDING


DOCUMENT_TYPE_NODE

Readonly DOCUMENT_TYPE_NODE: 10

node is a doctype.

Inherited from

HTMLVideoElement.DOCUMENT_TYPE_NODE


ELEMENT_NODE

Readonly ELEMENT_NODE: 1

node is an element.

Inherited from

HTMLVideoElement.ELEMENT_NODE


ENTITY_NODE

Readonly ENTITY_NODE: 6

Inherited from

HTMLVideoElement.ENTITY_NODE


ENTITY_REFERENCE_NODE

Readonly ENTITY_REFERENCE_NODE: 5

Inherited from

HTMLVideoElement.ENTITY_REFERENCE_NODE


HAVE_CURRENT_DATA

Readonly HAVE_CURRENT_DATA: 2

Inherited from

HTMLVideoElement.HAVE_CURRENT_DATA


HAVE_ENOUGH_DATA

Readonly HAVE_ENOUGH_DATA: 4

Inherited from

HTMLVideoElement.HAVE_ENOUGH_DATA


HAVE_FUTURE_DATA

Readonly HAVE_FUTURE_DATA: 3

Inherited from

HTMLVideoElement.HAVE_FUTURE_DATA


HAVE_METADATA

Readonly HAVE_METADATA: 1

Inherited from

HTMLVideoElement.HAVE_METADATA


HAVE_NOTHING

Readonly HAVE_NOTHING: 0

Inherited from

HTMLVideoElement.HAVE_NOTHING


NETWORK_EMPTY

Readonly NETWORK_EMPTY: 0

Inherited from

HTMLVideoElement.NETWORK_EMPTY


NETWORK_IDLE

Readonly NETWORK_IDLE: 1

Inherited from

HTMLVideoElement.NETWORK_IDLE


NETWORK_LOADING

Readonly NETWORK_LOADING: 2

Inherited from

HTMLVideoElement.NETWORK_LOADING


NETWORK_NO_SOURCE

Readonly NETWORK_NO_SOURCE: 3

Inherited from

HTMLVideoElement.NETWORK_NO_SOURCE


NOTATION_NODE

Readonly NOTATION_NODE: 12

Inherited from

HTMLVideoElement.NOTATION_NODE


PROCESSING_INSTRUCTION_NODE

Readonly PROCESSING_INSTRUCTION_NODE: 7

node is a ProcessingInstruction node.

Inherited from

HTMLVideoElement.PROCESSING_INSTRUCTION_NODE


TEXT_NODE

Readonly TEXT_NODE: 3

node is a Text node.

Inherited from

HTMLVideoElement.TEXT_NODE


[InitialValue]

Optional [InitialValue]: string

Inherited from

HTMLVideoElement.__@InitialValue@796


[PointerEventsCheck]

Optional [PointerEventsCheck]: { 1: undefined | object ; 2: undefined | object } & { result: undefined | { pointerEvents: string ; tree: Element[] } }

Inherited from

HTMLVideoElement.__@PointerEventsCheck@792


[TrackChanges]

Optional [TrackChanges]: Object

Type declaration

NameType
nextValue?string
previousValue?string
tracked?string[]

Inherited from

HTMLVideoElement.__@TrackChanges@800


[UISelection]

Optional [UISelection]: UISelection

Inherited from

HTMLVideoElement.__@UISelection@798


[UIValue]

Optional [UIValue]: string

Inherited from

HTMLVideoElement.__@UIValue@794


accessKey

accessKey: string

Inherited from

HTMLVideoElement.accessKey


accessKeyLabel

Readonly accessKeyLabel: string

Inherited from

HTMLVideoElement.accessKeyLabel


ariaAtomic

ariaAtomic: null | string

Inherited from

HTMLVideoElement.ariaAtomic


ariaAutoComplete

ariaAutoComplete: null | string

Inherited from

HTMLVideoElement.ariaAutoComplete


ariaBusy

ariaBusy: null | string

Inherited from

HTMLVideoElement.ariaBusy


ariaChecked

ariaChecked: null | string

Inherited from

HTMLVideoElement.ariaChecked


ariaColCount

ariaColCount: null | string

Inherited from

HTMLVideoElement.ariaColCount


ariaColIndex

ariaColIndex: null | string

Inherited from

HTMLVideoElement.ariaColIndex


ariaColSpan

ariaColSpan: null | string

Inherited from

HTMLVideoElement.ariaColSpan


ariaCurrent

ariaCurrent: null | string

Inherited from

HTMLVideoElement.ariaCurrent


ariaDisabled

ariaDisabled: null | string

Inherited from

HTMLVideoElement.ariaDisabled


ariaExpanded

ariaExpanded: null | string

Inherited from

HTMLVideoElement.ariaExpanded


ariaHasPopup

ariaHasPopup: null | string

Inherited from

HTMLVideoElement.ariaHasPopup


ariaHidden

ariaHidden: null | string

Inherited from

HTMLVideoElement.ariaHidden


ariaInvalid

ariaInvalid: null | string

Inherited from

HTMLVideoElement.ariaInvalid


ariaKeyShortcuts

ariaKeyShortcuts: null | string

Inherited from

HTMLVideoElement.ariaKeyShortcuts


ariaLabel

ariaLabel: null | string

Inherited from

HTMLVideoElement.ariaLabel


ariaLevel

ariaLevel: null | string

Inherited from

HTMLVideoElement.ariaLevel


ariaLive

ariaLive: null | string

Inherited from

HTMLVideoElement.ariaLive


ariaModal

ariaModal: null | string

Inherited from

HTMLVideoElement.ariaModal


ariaMultiLine

ariaMultiLine: null | string

Inherited from

HTMLVideoElement.ariaMultiLine


ariaMultiSelectable

ariaMultiSelectable: null | string

Inherited from

HTMLVideoElement.ariaMultiSelectable


ariaOrientation

ariaOrientation: null | string

Inherited from

HTMLVideoElement.ariaOrientation


ariaPlaceholder

ariaPlaceholder: null | string

Inherited from

HTMLVideoElement.ariaPlaceholder


ariaPosInSet

ariaPosInSet: null | string

Inherited from

HTMLVideoElement.ariaPosInSet


ariaPressed

ariaPressed: null | string

Inherited from

HTMLVideoElement.ariaPressed


ariaReadOnly

ariaReadOnly: null | string

Inherited from

HTMLVideoElement.ariaReadOnly


ariaRequired

ariaRequired: null | string

Inherited from

HTMLVideoElement.ariaRequired


ariaRoleDescription

ariaRoleDescription: null | string

Inherited from

HTMLVideoElement.ariaRoleDescription


ariaRowCount

ariaRowCount: null | string

Inherited from

HTMLVideoElement.ariaRowCount


ariaRowIndex

ariaRowIndex: null | string

Inherited from

HTMLVideoElement.ariaRowIndex


ariaRowSpan

ariaRowSpan: null | string

Inherited from

HTMLVideoElement.ariaRowSpan


ariaSelected

ariaSelected: null | string

Inherited from

HTMLVideoElement.ariaSelected


ariaSetSize

ariaSetSize: null | string

Inherited from

HTMLVideoElement.ariaSetSize


ariaSort

ariaSort: null | string

Inherited from

HTMLVideoElement.ariaSort


ariaValueMax

ariaValueMax: null | string

Inherited from

HTMLVideoElement.ariaValueMax


ariaValueMin

ariaValueMin: null | string

Inherited from

HTMLVideoElement.ariaValueMin


ariaValueNow

ariaValueNow: null | string

Inherited from

HTMLVideoElement.ariaValueNow


ariaValueText

ariaValueText: null | string

Inherited from

HTMLVideoElement.ariaValueText


assignedSlot

Readonly assignedSlot: null | HTMLSlotElement

Inherited from

HTMLVideoElement.assignedSlot


attributes

Readonly attributes: NamedNodeMap

Inherited from

HTMLVideoElement.attributes


autocapitalize

autocapitalize: string

Inherited from

HTMLVideoElement.autocapitalize


autofocus

autofocus: boolean

Inherited from

HTMLVideoElement.autofocus


autoplay

autoplay: boolean

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

Inherited from

HTMLVideoElement.autoplay


baseURI

Readonly baseURI: string

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

Inherited from

HTMLVideoElement.baseURI


buffered

Readonly buffered: TimeRanges

Gets a collection of buffered time ranges.

Inherited from

HTMLVideoElement.buffered


childElementCount

Readonly childElementCount: number

Inherited from

HTMLVideoElement.childElementCount


childNodes

Readonly childNodes: NodeListOf<ChildNode>

Returns the children.

Inherited from

HTMLVideoElement.childNodes


children

Readonly children: HTMLCollection

Returns the child elements.

Inherited from

HTMLVideoElement.children


classList

Readonly classList: DOMTokenList

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

Inherited from

HTMLVideoElement.classList


className

className: string

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

Inherited from

HTMLVideoElement.className


clientHeight

Readonly clientHeight: number

Inherited from

HTMLVideoElement.clientHeight


clientLeft

Readonly clientLeft: number

Inherited from

HTMLVideoElement.clientLeft


clientTop

Readonly clientTop: number

Inherited from

HTMLVideoElement.clientTop


clientWidth

Readonly clientWidth: number

Inherited from

HTMLVideoElement.clientWidth


contentEditable

contentEditable: string

Inherited from

HTMLVideoElement.contentEditable


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).

Inherited from

HTMLVideoElement.controls


crossOrigin

crossOrigin: null | string

Inherited from

HTMLVideoElement.crossOrigin


currentSrc

Readonly currentSrc: string

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

Inherited from

HTMLVideoElement.currentSrc


currentTime

currentTime: number

Gets or sets the current playback position, in seconds.

Inherited from

HTMLVideoElement.currentTime


dataset

Readonly dataset: DOMStringMap

Inherited from

HTMLVideoElement.dataset


defaultMuted

defaultMuted: boolean

Inherited from

HTMLVideoElement.defaultMuted


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.

Inherited from

HTMLVideoElement.defaultPlaybackRate


dir

dir: string

Inherited from

HTMLVideoElement.dir


disablePictureInPicture

disablePictureInPicture: boolean

Inherited from

HTMLVideoElement.disablePictureInPicture


disableRemotePlayback

disableRemotePlayback: boolean

Inherited from

HTMLVideoElement.disableRemotePlayback


draggable

draggable: boolean

Inherited from

HTMLVideoElement.draggable


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.

Inherited from

HTMLVideoElement.duration


ended

Readonly ended: boolean

Gets information about whether the playback has ended or not.

Inherited from

HTMLVideoElement.ended


enterKeyHint

enterKeyHint: string

Inherited from

HTMLVideoElement.enterKeyHint


error

Readonly error: null | MediaError

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

Inherited from

HTMLVideoElement.error


firstChild

Readonly firstChild: null | ChildNode

Returns the first child.

Inherited from

HTMLVideoElement.firstChild


firstElementChild

Readonly firstElementChild: null | Element

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

Inherited from

HTMLVideoElement.firstElementChild


height

height: number

Gets or sets the height of the video element.

Inherited from

HTMLVideoElement.height


hidden

hidden: boolean

Inherited from

HTMLVideoElement.hidden


id

id: string

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

Inherited from

HTMLVideoElement.id


inert

inert: boolean

Inherited from

HTMLVideoElement.inert


innerHTML

innerHTML: string

Inherited from

HTMLVideoElement.innerHTML


innerText

innerText: string

Inherited from

HTMLVideoElement.innerText


inputMode

inputMode: string

Inherited from

HTMLVideoElement.inputMode


isConnected

Readonly isConnected: boolean

Returns true if node is connected and false otherwise.

Inherited from

HTMLVideoElement.isConnected


isContentEditable

Readonly isContentEditable: boolean

Inherited from

HTMLVideoElement.isContentEditable


lang

lang: string

Inherited from

HTMLVideoElement.lang


lastChild

Readonly lastChild: null | ChildNode

Returns the last child.

Inherited from

HTMLVideoElement.lastChild


lastElementChild

Readonly lastElementChild: null | Element

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

Inherited from

HTMLVideoElement.lastElementChild


localName

Readonly localName: string

Returns the local name.

Inherited from

HTMLVideoElement.localName


loop

loop: boolean

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

Inherited from

HTMLVideoElement.loop


mediaKeys

Readonly mediaKeys: null | MediaKeys

Available only in secure contexts.

Inherited from

HTMLVideoElement.mediaKeys


muted

muted: boolean

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

Inherited from

HTMLVideoElement.muted


namespaceURI

Readonly namespaceURI: null | string

Returns the namespace.

Inherited from

HTMLVideoElement.namespaceURI


networkState

Readonly networkState: number

Gets the current network activity for the element.

Inherited from

HTMLVideoElement.networkState


nextElementSibling

Readonly nextElementSibling: null | Element

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

Inherited from

HTMLVideoElement.nextElementSibling


nextSibling

Readonly nextSibling: null | ChildNode

Returns the next sibling.

Inherited from

HTMLVideoElement.nextSibling


nodeName

Readonly nodeName: string

Returns a string appropriate for the type of node.

Inherited from

HTMLVideoElement.nodeName


nodeType

Readonly nodeType: number

Returns the type of node.

Inherited from

HTMLVideoElement.nodeType


nodeValue

nodeValue: null | string

Inherited from

HTMLVideoElement.nodeValue


nonce

Optional nonce: string

Inherited from

HTMLVideoElement.nonce


offsetHeight

Readonly offsetHeight: number

Inherited from

HTMLVideoElement.offsetHeight


offsetLeft

Readonly offsetLeft: number

Inherited from

HTMLVideoElement.offsetLeft


offsetParent

Readonly offsetParent: null | Element

Inherited from

HTMLVideoElement.offsetParent


offsetTop

Readonly offsetTop: number

Inherited from

HTMLVideoElement.offsetTop


offsetWidth

Readonly offsetWidth: number

Inherited from

HTMLVideoElement.offsetWidth


onabort

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

Fires when the user aborts the download.

Param

The event.

Inherited from

HTMLVideoElement.onabort


onanimationcancel

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

Inherited from

HTMLVideoElement.onanimationcancel


onanimationend

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

Inherited from

HTMLVideoElement.onanimationend


onanimationiteration

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

Inherited from

HTMLVideoElement.onanimationiteration


onanimationstart

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

Inherited from

HTMLVideoElement.onanimationstart


onauxclick

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

Inherited from

HTMLVideoElement.onauxclick


onbeforeinput

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

Inherited from

HTMLVideoElement.onbeforeinput


onblur

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

Fires when the object loses the input focus.

Param

The focus event.

Inherited from

HTMLVideoElement.onblur


oncancel

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

Inherited from

HTMLVideoElement.oncancel


oncanplay

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

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

Param

The event.

Inherited from

HTMLVideoElement.oncanplay


oncanplaythrough

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

Inherited from

HTMLVideoElement.oncanplaythrough


onchange

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

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

Param

The event.

Inherited from

HTMLVideoElement.onchange


onclick

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

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

Param

The mouse event.

Inherited from

HTMLVideoElement.onclick


onclose

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

Inherited from

HTMLVideoElement.onclose


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.

Inherited from

HTMLVideoElement.oncontextmenu


oncopy

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

Inherited from

HTMLVideoElement.oncopy


oncuechange

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

Inherited from

HTMLVideoElement.oncuechange


oncut

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

Inherited from

HTMLVideoElement.oncut


ondblclick

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

Fires when the user double-clicks the object.

Param

The mouse event.

Inherited from

HTMLVideoElement.ondblclick


ondrag

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

Fires on the source object continuously during a drag operation.

Param

The event.

Inherited from

HTMLVideoElement.ondrag


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.

Inherited from

HTMLVideoElement.ondragend


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.

Inherited from

HTMLVideoElement.ondragenter


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.

Inherited from

HTMLVideoElement.ondragleave


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.

Inherited from

HTMLVideoElement.ondragover


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.

Inherited from

HTMLVideoElement.ondragstart


ondrop

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

Inherited from

HTMLVideoElement.ondrop


ondurationchange

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

Occurs when the duration attribute is updated.

Param

The event.

Inherited from

HTMLVideoElement.ondurationchange


onemptied

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

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

Param

The event.

Inherited from

HTMLVideoElement.onemptied


onencrypted

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

Inherited from

HTMLVideoElement.onencrypted


onended

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

Occurs when the end of playback is reached.

Param

The event

Inherited from

HTMLVideoElement.onended


onenterpictureinpicture

onenterpictureinpicture: null | (this: HTMLVideoElement, ev: Event) => any

Inherited from

HTMLVideoElement.onenterpictureinpicture


onerror

onerror: OnErrorEventHandler

Fires when an error occurs during object loading.

Param

The event.

Inherited from

HTMLVideoElement.onerror


onfocus

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

Fires when the object receives focus.

Param

The event.

Inherited from

HTMLVideoElement.onfocus


onformdata

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

Inherited from

HTMLVideoElement.onformdata


onfullscreenchange

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

Inherited from

HTMLVideoElement.onfullscreenchange


onfullscreenerror

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

Inherited from

HTMLVideoElement.onfullscreenerror


ongotpointercapture

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

Inherited from

HTMLVideoElement.ongotpointercapture


oninput

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

Inherited from

HTMLVideoElement.oninput


oninvalid

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

Inherited from

HTMLVideoElement.oninvalid


onkeydown

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

Fires when the user presses a key.

Param

The keyboard event

Inherited from

HTMLVideoElement.onkeydown


onkeypress

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

Fires when the user presses an alphanumeric key.

Param

The event.

Deprecated

Inherited from

HTMLVideoElement.onkeypress


onkeyup

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

Fires when the user releases a key.

Param

The keyboard event

Inherited from

HTMLVideoElement.onkeyup


onleavepictureinpicture

onleavepictureinpicture: null | (this: HTMLVideoElement, ev: Event) => any

Inherited from

HTMLVideoElement.onleavepictureinpicture


onload

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

Fires immediately after the browser loads the object.

Param

The event.

Inherited from

HTMLVideoElement.onload


onloadeddata

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

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

Param

The event.

Inherited from

HTMLVideoElement.onloadeddata


onloadedmetadata

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

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

Param

The event.

Inherited from

HTMLVideoElement.onloadedmetadata


onloadstart

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

Occurs when Internet Explorer begins looking for media data.

Param

The event.

Inherited from

HTMLVideoElement.onloadstart


onlostpointercapture

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

Inherited from

HTMLVideoElement.onlostpointercapture


onmousedown

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

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

Param

The mouse event.

Inherited from

HTMLVideoElement.onmousedown


onmouseenter

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

Inherited from

HTMLVideoElement.onmouseenter


onmouseleave

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

Inherited from

HTMLVideoElement.onmouseleave


onmousemove

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

Fires when the user moves the mouse over the object.

Param

The mouse event.

Inherited from

HTMLVideoElement.onmousemove


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.

Inherited from

HTMLVideoElement.onmouseout


onmouseover

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

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

Param

The mouse event.

Inherited from

HTMLVideoElement.onmouseover


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.

Inherited from

HTMLVideoElement.onmouseup


onpaste

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

Inherited from

HTMLVideoElement.onpaste


onpause

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

Occurs when playback is paused.

Param

The event.

Inherited from

HTMLVideoElement.onpause


onplay

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

Occurs when the play method is requested.

Param

The event.

Inherited from

HTMLVideoElement.onplay


onplaying

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

Occurs when the audio or video has started playing.

Param

The event.

Inherited from

HTMLVideoElement.onplaying


onpointercancel

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

Inherited from

HTMLVideoElement.onpointercancel


onpointerdown

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

Inherited from

HTMLVideoElement.onpointerdown


onpointerenter

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

Inherited from

HTMLVideoElement.onpointerenter


onpointerleave

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

Inherited from

HTMLVideoElement.onpointerleave


onpointermove

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

Inherited from

HTMLVideoElement.onpointermove


onpointerout

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

Inherited from

HTMLVideoElement.onpointerout


onpointerover

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

Inherited from

HTMLVideoElement.onpointerover


onpointerup

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

Inherited from

HTMLVideoElement.onpointerup


onprogress

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

Occurs to indicate progress while downloading media data.

Param

The event.

Inherited from

HTMLVideoElement.onprogress


onratechange

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

Occurs when the playback rate is increased or decreased.

Param

The event.

Inherited from

HTMLVideoElement.onratechange


onreset

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

Fires when the user resets a form.

Param

The event.

Inherited from

HTMLVideoElement.onreset


onresize

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

Inherited from

HTMLVideoElement.onresize


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.

Inherited from

HTMLVideoElement.onscroll


onsecuritypolicyviolation

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

Inherited from

HTMLVideoElement.onsecuritypolicyviolation


onseeked

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

Occurs when the seek operation ends.

Param

The event.

Inherited from

HTMLVideoElement.onseeked


onseeking

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

Occurs when the current playback position is moved.

Param

The event.

Inherited from

HTMLVideoElement.onseeking


onselect

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

Fires when the current selection changes.

Param

The event.

Inherited from

HTMLVideoElement.onselect


onselectionchange

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

Inherited from

HTMLVideoElement.onselectionchange


onselectstart

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

Inherited from

HTMLVideoElement.onselectstart


onslotchange

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

Inherited from

HTMLVideoElement.onslotchange


onstalled

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

Occurs when the download has stopped.

Param

The event.

Inherited from

HTMLVideoElement.onstalled


onsubmit

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

Inherited from

HTMLVideoElement.onsubmit


onsuspend

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

Occurs if the load operation has been intentionally halted.

Param

The event.

Inherited from

HTMLVideoElement.onsuspend


ontimeupdate

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

Occurs to indicate the current playback position.

Param

The event.

Inherited from

HTMLVideoElement.ontimeupdate


ontoggle

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

Inherited from

HTMLVideoElement.ontoggle


ontouchcancel

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

Inherited from

HTMLVideoElement.ontouchcancel


ontouchend

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

Inherited from

HTMLVideoElement.ontouchend


ontouchmove

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

Inherited from

HTMLVideoElement.ontouchmove


ontouchstart

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

Inherited from

HTMLVideoElement.ontouchstart


ontransitioncancel

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

Inherited from

HTMLVideoElement.ontransitioncancel


ontransitionend

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

Inherited from

HTMLVideoElement.ontransitionend


ontransitionrun

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

Inherited from

HTMLVideoElement.ontransitionrun


ontransitionstart

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

Inherited from

HTMLVideoElement.ontransitionstart


onvolumechange

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

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

Param

The event.

Inherited from

HTMLVideoElement.onvolumechange


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.

Inherited from

HTMLVideoElement.onwaiting


onwaitingforkey

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

Inherited from

HTMLVideoElement.onwaitingforkey


onwebkitanimationend

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

Deprecated

This is a legacy alias of onanimationend.

Inherited from

HTMLVideoElement.onwebkitanimationend


onwebkitanimationiteration

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

Deprecated

This is a legacy alias of onanimationiteration.

Inherited from

HTMLVideoElement.onwebkitanimationiteration


onwebkitanimationstart

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

Deprecated

This is a legacy alias of onanimationstart.

Inherited from

HTMLVideoElement.onwebkitanimationstart


onwebkittransitionend

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

Deprecated

This is a legacy alias of ontransitionend.

Inherited from

HTMLVideoElement.onwebkittransitionend


onwheel

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

Inherited from

HTMLVideoElement.onwheel


outerHTML

outerHTML: string

Inherited from

HTMLVideoElement.outerHTML


outerText

outerText: string

Inherited from

HTMLVideoElement.outerText


ownerDocument

Readonly ownerDocument: Document

Inherited from

HTMLVideoElement.ownerDocument


parentElement

Readonly parentElement: null | HTMLElement

Returns the parent element.

Inherited from

HTMLVideoElement.parentElement


parentNode

Readonly parentNode: null | ParentNode

Returns the parent.

Inherited from

HTMLVideoElement.parentNode


part

Readonly part: DOMTokenList

Inherited from

HTMLVideoElement.part


paused

Readonly paused: boolean

Gets a flag that specifies whether playback is paused.

Inherited from

HTMLVideoElement.paused


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.

Inherited from

HTMLVideoElement.playbackRate


played

Readonly played: TimeRanges

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

Inherited from

HTMLVideoElement.played


playsInline

playsInline: boolean

Gets or sets the playsinline of the video element. for example, On iPhone, video elements will now be allowed to play inline, and will not automatically enter fullscreen mode when playback begins.

Inherited from

HTMLVideoElement.playsInline


poster

poster: string

Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.

Inherited from

HTMLVideoElement.poster


prefix

Readonly prefix: null | string

Returns the namespace prefix.

Inherited from

HTMLVideoElement.prefix


preload

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

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

Inherited from

HTMLVideoElement.preload


preservesPitch

preservesPitch: boolean

Inherited from

HTMLVideoElement.preservesPitch


previousElementSibling

Readonly previousElementSibling: null | Element

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

Inherited from

HTMLVideoElement.previousElementSibling


previousSibling

Readonly previousSibling: null | ChildNode

Returns the previous sibling.

Inherited from

HTMLVideoElement.previousSibling


readyState

Readonly readyState: number

Inherited from

HTMLVideoElement.readyState


remote

Readonly remote: RemotePlayback

Inherited from

HTMLVideoElement.remote


role

role: null | string

Inherited from

HTMLVideoElement.role


scrollHeight

Readonly scrollHeight: number

Inherited from

HTMLVideoElement.scrollHeight


scrollLeft

scrollLeft: number

Inherited from

HTMLVideoElement.scrollLeft


scrollTop

scrollTop: number

Inherited from

HTMLVideoElement.scrollTop


scrollWidth

Readonly scrollWidth: number

Inherited from

HTMLVideoElement.scrollWidth


seekable

Readonly seekable: TimeRanges

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

Inherited from

HTMLVideoElement.seekable


seeking

Readonly seeking: boolean

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

Inherited from

HTMLVideoElement.seeking


setSinkId

setSinkId: (sinkId: string) => void

Type declaration

▸ (sinkId): void

Parameters
NameType
sinkIdstring
Returns

void


shadowRoot

Readonly shadowRoot: null | ShadowRoot

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

Inherited from

HTMLVideoElement.shadowRoot


slot

slot: string

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

Inherited from

HTMLVideoElement.slot


spellcheck

spellcheck: boolean

Inherited from

HTMLVideoElement.spellcheck


src

src: string

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

Inherited from

HTMLVideoElement.src


srcObject

srcObject: null | MediaProvider

Inherited from

HTMLVideoElement.srcObject


style

Readonly style: CSSStyleDeclaration

Inherited from

HTMLVideoElement.style


tabIndex

tabIndex: number

Inherited from

HTMLVideoElement.tabIndex


tagName

Readonly tagName: string

Returns the HTML-uppercased qualified name.

Inherited from

HTMLVideoElement.tagName


textContent

textContent: null | string

Inherited from

HTMLVideoElement.textContent


textTracks

Readonly textTracks: TextTrackList

Inherited from

HTMLVideoElement.textTracks


title

title: string

Inherited from

HTMLVideoElement.title


translate

translate: boolean

Inherited from

HTMLVideoElement.translate


videoHeight

Readonly videoHeight: number

Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.

Inherited from

HTMLVideoElement.videoHeight


videoWidth

Readonly videoWidth: number

Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.

Inherited from

HTMLVideoElement.videoWidth


volume

volume: number

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

Inherited from

HTMLVideoElement.volume


width

width: number

Gets or sets the width of the video element.

Inherited from

HTMLVideoElement.width

Methods

addEventListener

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

Type parameters

NameType
Kextends keyof HTMLVideoElementEventMap

Parameters

NameType
typeK
listener(this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any
options?boolean | AddEventListenerOptions

Returns

void

Inherited from

HTMLVideoElement.addEventListener

addEventListener(type, listener, options?): void

Parameters

NameType
typestring
listenerEventListenerOrEventListenerObject
options?boolean | AddEventListenerOptions

Returns

void

Inherited from

HTMLVideoElement.addEventListener


addTextTrack

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

Parameters

NameType
kindTextTrackKind
label?string
language?string

Returns

TextTrack

Inherited from

HTMLVideoElement.addTextTrack


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.

Parameters

NameType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLVideoElement.after


animate

animate(keyframes, options?): Animation

Parameters

NameType
keyframesnull | Keyframe[] | PropertyIndexedKeyframes
options?number | KeyframeAnimationOptions

Returns

Animation

Inherited from

HTMLVideoElement.animate


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.

Parameters

NameType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLVideoElement.append


appendChild

appendChild<T>(node): T

Type parameters

NameType
Textends Node<T>

Parameters

NameType
nodeT

Returns

T

Inherited from

HTMLVideoElement.appendChild


attachInternals

attachInternals(): ElementInternals

Returns

ElementInternals

Inherited from

HTMLVideoElement.attachInternals


attachShadow

attachShadow(init): ShadowRoot

Creates a shadow root for element and returns it.

Parameters

NameType
initShadowRootInit

Returns

ShadowRoot

Inherited from

HTMLVideoElement.attachShadow


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.

Parameters

NameType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLVideoElement.before


blur

blur(): void

Returns

void

Inherited from

HTMLVideoElement.blur


canPlayType

canPlayType(type): CanPlayTypeResult

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

Parameters

NameType
typestring

Returns

CanPlayTypeResult

Inherited from

HTMLVideoElement.canPlayType


cancelVideoFrameCallback

cancelVideoFrameCallback(handle): void

Parameters

NameType
handlenumber

Returns

void

Inherited from

HTMLVideoElement.cancelVideoFrameCallback


checkVisibility

checkVisibility(options?): boolean

Parameters

NameType
options?CheckVisibilityOptions

Returns

boolean

Inherited from

HTMLVideoElement.checkVisibility


click

click(): void

Returns

void

Inherited from

HTMLVideoElement.click


cloneNode

cloneNode(deep?): Node

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

Parameters

NameType
deep?boolean

Returns

Node

Inherited from

HTMLVideoElement.cloneNode


closest

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

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

Type parameters

NameType
Kextends keyof HTMLElementTagNameMap

Parameters

NameType
selectorK

Returns

null | HTMLElementTagNameMap[K]

Inherited from

HTMLVideoElement.closest

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

Type parameters

NameType
Kextends keyof SVGElementTagNameMap

Parameters

NameType
selectorK

Returns

null | SVGElementTagNameMap[K]

Inherited from

HTMLVideoElement.closest

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

Type parameters

NameType
Kextends keyof MathMLElementTagNameMap

Parameters

NameType
selectorK

Returns

null | MathMLElementTagNameMap[K]

Inherited from

HTMLVideoElement.closest

closest<E>(selectors): null | E

Type parameters

NameType
Eextends Element<E> = Element

Parameters

NameType
selectorsstring

Returns

null | E

Inherited from

HTMLVideoElement.closest


compareDocumentPosition

compareDocumentPosition(other): number

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

Parameters

NameType
otherNode

Returns

number

Inherited from

HTMLVideoElement.compareDocumentPosition


contains

contains(other): boolean

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

Parameters

NameType
othernull | Node

Returns

boolean

Inherited from

HTMLVideoElement.contains


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.

Parameters

NameType
eventEvent

Returns

boolean

Inherited from

HTMLVideoElement.dispatchEvent


fastSeek

fastSeek(time): void

Parameters

NameType
timenumber

Returns

void

Inherited from

HTMLVideoElement.fastSeek


focus

focus(options?): void

Parameters

NameType
options?FocusOptions

Returns

void

Inherited from

HTMLVideoElement.focus


getAnimations

getAnimations(options?): Animation[]

Parameters

NameType
options?GetAnimationsOptions

Returns

Animation[]

Inherited from

HTMLVideoElement.getAnimations


getAttribute

getAttribute(qualifiedName): null | string

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

Parameters

NameType
qualifiedNamestring

Returns

null | string

Inherited from

HTMLVideoElement.getAttribute


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.

Parameters

NameType
namespacenull | string
localNamestring

Returns

null | string

Inherited from

HTMLVideoElement.getAttributeNS


getAttributeNames

getAttributeNames(): string[]

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

Returns

string[]

Inherited from

HTMLVideoElement.getAttributeNames


getAttributeNode

getAttributeNode(qualifiedName): null | Attr

Parameters

NameType
qualifiedNamestring

Returns

null | Attr

Inherited from

HTMLVideoElement.getAttributeNode


getAttributeNodeNS

getAttributeNodeNS(namespace, localName): null | Attr

Parameters

NameType
namespacenull | string
localNamestring

Returns

null | Attr

Inherited from

HTMLVideoElement.getAttributeNodeNS


getBoundingClientRect

getBoundingClientRect(): DOMRect

Returns

DOMRect

Inherited from

HTMLVideoElement.getBoundingClientRect


getClientRects

getClientRects(): DOMRectList

Returns

DOMRectList

Inherited from

HTMLVideoElement.getClientRects


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.

Parameters

NameType
classNamesstring

Returns

HTMLCollectionOf<Element>

Inherited from

HTMLVideoElement.getElementsByClassName


getElementsByTagName

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

Type parameters

NameType
Kextends keyof HTMLElementTagNameMap

Parameters

NameType
qualifiedNameK

Returns

HTMLCollectionOf<HTMLElementTagNameMap[K]>

Inherited from

HTMLVideoElement.getElementsByTagName

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

Type parameters

NameType
Kextends keyof SVGElementTagNameMap

Parameters

NameType
qualifiedNameK

Returns

HTMLCollectionOf<SVGElementTagNameMap[K]>

Inherited from

HTMLVideoElement.getElementsByTagName

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

Type parameters

NameType
Kextends keyof MathMLElementTagNameMap

Parameters

NameType
qualifiedNameK

Returns

HTMLCollectionOf<MathMLElementTagNameMap[K]>

Inherited from

HTMLVideoElement.getElementsByTagName

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

Deprecated

Type parameters

NameType
Kextends keyof HTMLElementDeprecatedTagNameMap

Parameters

NameType
qualifiedNameK

Returns

HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>

Inherited from

HTMLVideoElement.getElementsByTagName

getElementsByTagName(qualifiedName): HTMLCollectionOf<Element>

Parameters

NameType
qualifiedNamestring

Returns

HTMLCollectionOf<Element>

Inherited from

HTMLVideoElement.getElementsByTagName


getElementsByTagNameNS

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<HTMLElement>

Parameters

NameType
namespaceURI"http://www.w3.org/1999/xhtml"
localNamestring

Returns

HTMLCollectionOf<HTMLElement>

Inherited from

HTMLVideoElement.getElementsByTagNameNS

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<SVGElement>

Parameters

NameType
namespaceURI"http://www.w3.org/2000/svg"
localNamestring

Returns

HTMLCollectionOf<SVGElement>

Inherited from

HTMLVideoElement.getElementsByTagNameNS

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<MathMLElement>

Parameters

NameType
namespaceURI"http://www.w3.org/1998/Math/MathML"
localNamestring

Returns

HTMLCollectionOf<MathMLElement>

Inherited from

HTMLVideoElement.getElementsByTagNameNS

getElementsByTagNameNS(namespace, localName): HTMLCollectionOf<Element>

Parameters

NameType
namespacenull | string
localNamestring

Returns

HTMLCollectionOf<Element>

Inherited from

HTMLVideoElement.getElementsByTagNameNS


getRootNode

getRootNode(options?): Node

Returns node's root.

Parameters

NameType
options?GetRootNodeOptions

Returns

Node

Inherited from

HTMLVideoElement.getRootNode


getVideoPlaybackQuality

getVideoPlaybackQuality(): VideoPlaybackQuality

Returns

VideoPlaybackQuality

Inherited from

HTMLVideoElement.getVideoPlaybackQuality


hasAttribute

hasAttribute(qualifiedName): boolean

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

Parameters

NameType
qualifiedNamestring

Returns

boolean

Inherited from

HTMLVideoElement.hasAttribute


hasAttributeNS

hasAttributeNS(namespace, localName): boolean

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

Parameters

NameType
namespacenull | string
localNamestring

Returns

boolean

Inherited from

HTMLVideoElement.hasAttributeNS


hasAttributes

hasAttributes(): boolean

Returns true if element has attributes, and false otherwise.

Returns

boolean

Inherited from

HTMLVideoElement.hasAttributes


hasChildNodes

hasChildNodes(): boolean

Returns whether node has children.

Returns

boolean

Inherited from

HTMLVideoElement.hasChildNodes


hasPointerCapture

hasPointerCapture(pointerId): boolean

Parameters

NameType
pointerIdnumber

Returns

boolean

Inherited from

HTMLVideoElement.hasPointerCapture


insertAdjacentElement

insertAdjacentElement(where, element): null | Element

Parameters

NameType
whereInsertPosition
elementElement

Returns

null | Element

Inherited from

HTMLVideoElement.insertAdjacentElement


insertAdjacentHTML

insertAdjacentHTML(position, text): void

Parameters

NameType
positionInsertPosition
textstring

Returns

void

Inherited from

HTMLVideoElement.insertAdjacentHTML


insertAdjacentText

insertAdjacentText(where, data): void

Parameters

NameType
whereInsertPosition
datastring

Returns

void

Inherited from

HTMLVideoElement.insertAdjacentText


insertBefore

insertBefore<T>(node, child): T

Type parameters

NameType
Textends Node<T>

Parameters

NameType
nodeT
childnull | Node

Returns

T

Inherited from

HTMLVideoElement.insertBefore


isDefaultNamespace

isDefaultNamespace(namespace): boolean

Parameters

NameType
namespacenull | string

Returns

boolean

Inherited from

HTMLVideoElement.isDefaultNamespace


isEqualNode

isEqualNode(otherNode): boolean

Returns whether node and otherNode have the same properties.

Parameters

NameType
otherNodenull | Node

Returns

boolean

Inherited from

HTMLVideoElement.isEqualNode


isSameNode

isSameNode(otherNode): boolean

Parameters

NameType
otherNodenull | Node

Returns

boolean

Inherited from

HTMLVideoElement.isSameNode


load

load(): void

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

Returns

void

Inherited from

HTMLVideoElement.load


lookupNamespaceURI

lookupNamespaceURI(prefix): null | string

Parameters

NameType
prefixnull | string

Returns

null | string

Inherited from

HTMLVideoElement.lookupNamespaceURI


lookupPrefix

lookupPrefix(namespace): null | string

Parameters

NameType
namespacenull | string

Returns

null | string

Inherited from

HTMLVideoElement.lookupPrefix


matches

matches(selectors): boolean

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

Parameters

NameType
selectorsstring

Returns

boolean

Inherited from

HTMLVideoElement.matches


normalize

normalize(): void

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

Returns

void

Inherited from

HTMLVideoElement.normalize


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.

Returns

void

Inherited from

HTMLVideoElement.pause


play

play(): Promise<void>

Loads and starts playback of a media resource.

Returns

Promise<void>

Inherited from

HTMLVideoElement.play


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.

Parameters

NameType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLVideoElement.prepend


querySelector

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

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

Type parameters

NameType
Kextends keyof HTMLElementTagNameMap

Parameters

NameType
selectorsK

Returns

null | HTMLElementTagNameMap[K]

Inherited from

HTMLVideoElement.querySelector

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

Type parameters

NameType
Kextends keyof SVGElementTagNameMap

Parameters

NameType
selectorsK

Returns

null | SVGElementTagNameMap[K]

Inherited from

HTMLVideoElement.querySelector

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

Type parameters

NameType
Kextends keyof MathMLElementTagNameMap

Parameters

NameType
selectorsK

Returns

null | MathMLElementTagNameMap[K]

Inherited from

HTMLVideoElement.querySelector

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

Deprecated

Type parameters

NameType
Kextends keyof HTMLElementDeprecatedTagNameMap

Parameters

NameType
selectorsK

Returns

null | HTMLElementDeprecatedTagNameMap[K]

Inherited from

HTMLVideoElement.querySelector

querySelector<E>(selectors): null | E

Type parameters

NameType
Eextends Element<E> = Element

Parameters

NameType
selectorsstring

Returns

null | E

Inherited from

HTMLVideoElement.querySelector


querySelectorAll

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

Returns all element descendants of node that match selectors.

Type parameters

NameType
Kextends keyof HTMLElementTagNameMap

Parameters

NameType
selectorsK

Returns

NodeListOf<HTMLElementTagNameMap[K]>

Inherited from

HTMLVideoElement.querySelectorAll

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

Type parameters

NameType
Kextends keyof SVGElementTagNameMap

Parameters

NameType
selectorsK

Returns

NodeListOf<SVGElementTagNameMap[K]>

Inherited from

HTMLVideoElement.querySelectorAll

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

Type parameters

NameType
Kextends keyof MathMLElementTagNameMap

Parameters

NameType
selectorsK

Returns

NodeListOf<MathMLElementTagNameMap[K]>

Inherited from

HTMLVideoElement.querySelectorAll

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

Deprecated

Type parameters

NameType
Kextends keyof HTMLElementDeprecatedTagNameMap

Parameters

NameType
selectorsK

Returns

NodeListOf<HTMLElementDeprecatedTagNameMap[K]>

Inherited from

HTMLVideoElement.querySelectorAll

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

Type parameters

NameType
Eextends Element<E> = Element

Parameters

NameType
selectorsstring

Returns

NodeListOf<E>

Inherited from

HTMLVideoElement.querySelectorAll


releasePointerCapture

releasePointerCapture(pointerId): void

Parameters

NameType
pointerIdnumber

Returns

void

Inherited from

HTMLVideoElement.releasePointerCapture


remove

remove(): void

Removes node.

Returns

void

Inherited from

HTMLVideoElement.remove


removeAttribute

removeAttribute(qualifiedName): void

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

Parameters

NameType
qualifiedNamestring

Returns

void

Inherited from

HTMLVideoElement.removeAttribute


removeAttributeNS

removeAttributeNS(namespace, localName): void

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

Parameters

NameType
namespacenull | string
localNamestring

Returns

void

Inherited from

HTMLVideoElement.removeAttributeNS


removeAttributeNode

removeAttributeNode(attr): Attr

Parameters

NameType
attrAttr

Returns

Attr

Inherited from

HTMLVideoElement.removeAttributeNode


removeChild

removeChild<T>(child): T

Type parameters

NameType
Textends Node<T>

Parameters

NameType
childT

Returns

T

Inherited from

HTMLVideoElement.removeChild


removeEventListener

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

Type parameters

NameType
Kextends keyof HTMLVideoElementEventMap

Parameters

NameType
typeK
listener(this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any
options?boolean | EventListenerOptions

Returns

void

Inherited from

HTMLVideoElement.removeEventListener

removeEventListener(type, listener, options?): void

Parameters

NameType
typestring
listenerEventListenerOrEventListenerObject
options?boolean | EventListenerOptions

Returns

void

Inherited from

HTMLVideoElement.removeEventListener


replaceChild

replaceChild<T>(node, child): T

Type parameters

NameType
Textends Node<T>

Parameters

NameType
nodeNode
childT

Returns

T

Inherited from

HTMLVideoElement.replaceChild


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.

Parameters

NameType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLVideoElement.replaceChildren


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.

Parameters

NameType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLVideoElement.replaceWith


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.

Parameters

NameType
options?FullscreenOptions

Returns

Promise<void>

Inherited from

HTMLVideoElement.requestFullscreen


requestPictureInPicture

requestPictureInPicture(): Promise<PictureInPictureWindow>

Returns

Promise<PictureInPictureWindow>

Inherited from

HTMLVideoElement.requestPictureInPicture


requestPointerLock

requestPointerLock(): void

Returns

void

Inherited from

HTMLVideoElement.requestPointerLock


requestVideoFrameCallback

requestVideoFrameCallback(callback): number

Parameters

NameType
callbackVideoFrameRequestCallback

Returns

number

Inherited from

HTMLVideoElement.requestVideoFrameCallback


scroll

scroll(options?): void

Parameters

NameType
options?ScrollToOptions

Returns

void

Inherited from

HTMLVideoElement.scroll

scroll(x, y): void

Parameters

NameType
xnumber
ynumber

Returns

void

Inherited from

HTMLVideoElement.scroll


scrollBy

scrollBy(options?): void

Parameters

NameType
options?ScrollToOptions

Returns

void

Inherited from

HTMLVideoElement.scrollBy

scrollBy(x, y): void

Parameters

NameType
xnumber
ynumber

Returns

void

Inherited from

HTMLVideoElement.scrollBy


scrollIntoView

scrollIntoView(arg?): void

Parameters

NameType
arg?boolean | ScrollIntoViewOptions

Returns

void

Inherited from

HTMLVideoElement.scrollIntoView


scrollTo

scrollTo(options?): void

Parameters

NameType
options?ScrollToOptions

Returns

void

Inherited from

HTMLVideoElement.scrollTo

scrollTo(x, y): void

Parameters

NameType
xnumber
ynumber

Returns

void

Inherited from

HTMLVideoElement.scrollTo


setAttribute

setAttribute(qualifiedName, value): void

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

Parameters

NameType
qualifiedNamestring
valuestring

Returns

void

Inherited from

HTMLVideoElement.setAttribute


setAttributeNS

setAttributeNS(namespace, qualifiedName, value): void

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

Parameters

NameType
namespacenull | string
qualifiedNamestring
valuestring

Returns

void

Inherited from

HTMLVideoElement.setAttributeNS


setAttributeNode

setAttributeNode(attr): null | Attr

Parameters

NameType
attrAttr

Returns

null | Attr

Inherited from

HTMLVideoElement.setAttributeNode


setAttributeNodeNS

setAttributeNodeNS(attr): null | Attr

Parameters

NameType
attrAttr

Returns

null | Attr

Inherited from

HTMLVideoElement.setAttributeNodeNS


setMediaKeys

setMediaKeys(mediaKeys): Promise<void>

Available only in secure contexts.

Parameters

NameType
mediaKeysnull | MediaKeys

Returns

Promise<void>

Inherited from

HTMLVideoElement.setMediaKeys


setPointerCapture

setPointerCapture(pointerId): void

Parameters

NameType
pointerIdnumber

Returns

void

Inherited from

HTMLVideoElement.setPointerCapture


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.

Parameters

NameType
qualifiedNamestring
force?boolean

Returns

boolean

Inherited from

HTMLVideoElement.toggleAttribute


webkitMatchesSelector

webkitMatchesSelector(selectors): boolean

Deprecated

This is a legacy alias of matches.

Parameters

NameType
selectorsstring

Returns

boolean

Inherited from

HTMLVideoElement.webkitMatchesSelector