interface HTMLVideoElement
implements HTMLMediaElement
import { type HTMLVideoElement } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";
Provides special properties and methods for manipulating video objects. It also inherits properties and methods of HTMLMediaElement and HTMLElement.
Properties
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.
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.
Methods
getVideoPlaybackQuality(): VideoPlaybackQuality
addEventListener<K extends keyof HTMLMediaElementEventMap>(): void
type: K,
listener: (this: HTMLVideoElement, ev: HTMLMediaElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof HTMLMediaElementEventMap>(): void
type: K,
listener: (this: HTMLVideoElement, ev: HTMLMediaElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,