Inherits from | |
Availability | Available in Safari 3.1 and later. Available in iPhone OS 3.0 and later. |
A class representing the HTML video
element that plays a video or movie in a webpage. Use the HTMLAudioElement
class for the HTML audio
element.
The height of the video element in CSS pixels.
attribute unsigned long height;
The URI address of an image file that is shown when no video data is available.
attribute [ConvertNullToNullString] DOMString poster;
The native height of the video in CSS pixels. (read-only)
readonly attribute unsigned long videoHeight;
If no video data is available, this property is 0
.
The native width of the video in CSS pixels. (read-only)
readonly attribute unsigned long videoWidth;
If no video data is available, this property is 0
.
The width of the video element in CSS pixels.
attribute unsigned long width;
Last updated: 2010-02-24