HTMLVideoElement$Typings extension
Properties
-
addEventListener
→ ({void Function<K$>(HTMLVideoElementEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
-
Overload accessor: $1, $2
no setter
-
cancelVideoFrameCallback
↔ void Function(num)
-
getter/setter pair
-
disablePictureInPicture
↔ bool
-
MDN Reference
getter/setter pair
-
getVideoPlaybackQuality
↔ VideoPlaybackQuality Function()
-
getter/setter pair
-
height
↔ num
-
Gets or sets the height of the video element.
getter/setter pair
-
onenterpictureinpicture
↔ dynamic Function(Event)?
-
MDN Reference
getter/setter pair
-
onleavepictureinpicture
↔ dynamic Function(Event)?
-
MDN Reference
getter/setter pair
-
playsInline
↔ bool
-
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.
getter/setter pair
-
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.
getter/setter pair
-
removeEventListener
→ ({void Function<K$>(HTMLVideoElementEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
-
Overload accessor: $1, $2
no setter
-
requestPictureInPicture
↔ Future<PictureInPictureWindow> Function()
-
getter/setter pair
-
requestVideoFrameCallback
↔ num Function(VideoFrameRequestCallback)
-
getter/setter pair
-
videoHeight
→ num
-
Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.
no setter
-
videoWidth
→ num
-
Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.
no setter
-
width
↔ num
-
Gets or sets the width of the video element.
getter/setter pair