interface HTMLVideoElement
implements HTMLMediaElement
import { type HTMLVideoElement } from "https://deno.land/x/windmill@v1.361.1/node_modules/evt/src/lib/types/lib.dom.ts";
Provides special properties and methods for manipulating video objects. It also inherits properties and methods of HTMLMediaElement and HTMLElement.
Properties
onMSVideoFormatChanged: ((this: HTMLVideoElement, ev: Event) => any) | null
onMSVideoFrameStepCompleted: ((this: HTMLVideoElement, ev: Event) => any) | null
onMSVideoOptimalLayoutChanged: ((this: HTMLVideoElement, ev: Event) => any) | null
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.
Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.
Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.
Methods
getVideoPlaybackQuality(): VideoPlaybackQuality
addEventListener<K extends keyof HTMLVideoElementEventMap>(): void
type: K,
listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof HTMLVideoElementEventMap>(): void
type: K,
listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,