haXe API Documentation
Back | Index
extern class js.html.VideoElement
extends MediaElement
Available in js
DOM video objects expose the HTMLVideoElement interface, which provides special properties (beyond the regular element object and HTMLMediaElement interfaces they also have available to them by inheritance) for manipulating video objects.

Documentation for this class was provided by MDN.
var decodedFrameCount(default,null) : Int
var displayingFullscreen(default,null) : Bool
var droppedFrameCount(default,null) : Int
var height : Int

Reflects the

height HTML attribute, which specifies the height of the display area, in CSS pixels.

var poster : String

Reflects the

poster HTML attribute, which specifies an image to show while no video data is available.

var supportsFullscreen(default,null) : Bool
var videoHeight(default,null) : Int
The intrinsic height of the resource in CSS pixels, taking into account the dimensions, aspect ratio, clean aperture, resolution, and so forth, as defined for the format used by the resource. If the element's ready state is HAVE_NOTHING, the value is 0.
var videoWidth(default,null) : Int
The intrinsic width of the resource in CSS pixels, taking into account the dimensions, aspect ratio, clean aperture, resolution, and so forth, as defined for the format used by the resource. If the element's ready state is HAVE_NOTHING, the value is 0.
var width : Int

Reflects the

width  HTML attribute, which specifies the width of the display area, in CSS pixels.

function enterFullScreen() : Void
function enterFullscreen() : Void
function exitFullScreen() : Void
function exitFullscreen() : Void
Back | Index