W3cubDocs

/Haxe JavaScript

VideoElement

package js.html

extends MediaElementElementDOMElementNodeEventTarget

Available on js

The HTMLVideoElement interface provides special properties and methods for manipulating video objects. It also inherits properties and methods of HTMLMediaElement and HTMLElement.

Documentation HTMLVideoElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

height:Int

Is a DOMString that reflects the height HTML attribute, which specifies the height of the display area, in CSS pixels.

poster:String

Is a DOMString that reflects the poster HTML attribute, which specifies an image to show while no video data is available.

read only videoHeight:Int

Returns an unsigned long containing 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.

read only videoWidth:Int

Returns an unsigned long containing 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.

width:Int

Is a DOMString that reflects the width HTML attribute, which specifies the width of the display area, in CSS pixels.

Methods

getVideoPlaybackQuality ():VideoPlaybackQuality

Returns a VideoPlaybackQuality objects that contains the current playback metrics.

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/VideoElement.html