|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.dom.client.Node
com.google.gwt.dom.client.Element
com.google.gwt.dom.client.MediaElement
com.google.gwt.dom.client.VideoElement
@TagName(value="video") public class VideoElement
Video element.
Experimental API: This API is still under development and is subject to change.
| Field Summary | |
|---|---|
static java.lang.String |
TAG
The tag for this element. |
static java.lang.String |
TYPE_MP4
The audio type of MP4 encoded video. |
static java.lang.String |
TYPE_OGG
The audio type of Ogg encoded video. |
static java.lang.String |
TYPE_WEBM
The audio type of WebM encoded audio. |
| Fields inherited from class com.google.gwt.dom.client.MediaElement |
|---|
CAN_PLAY_MAYBE, CAN_PLAY_PROBABLY, CANNOT_PLAY, HAVE_CURRENT_DATA, HAVE_ENOUGH_DATA, HAVE_FUTURE_DATA, HAVE_METADATA, HAVE_NOTHING, NETWORK_EMPTY, NETWORK_IDLE, NETWORK_LOADING, NETWORK_NO_SOURCE, PRELOAD_AUTO, PRELOAD_METADATA, PRELOAD_NONE |
| Fields inherited from class com.google.gwt.dom.client.Element |
|---|
DRAGGABLE_AUTO, DRAGGABLE_FALSE, DRAGGABLE_TRUE |
| Fields inherited from class com.google.gwt.dom.client.Node |
|---|
DOCUMENT_NODE, ELEMENT_NODE, TEXT_NODE |
| Constructor Summary | |
|---|---|
protected |
VideoElement()
|
| Method Summary | |
|---|---|
int |
getHeight()
Gets the height of the element. |
java.lang.String |
getPoster()
Returns a poster URL. |
int |
getVideoHeight()
Gets the intrinsic height of video within the element. |
int |
getVideoWidth()
Gets the instrinsic width of the video within the element. |
int |
getWidth()
Gets the width of the element. |
void |
setHeight(int height)
Sets the height of the element. |
void |
setPoster(java.lang.String url)
Sets the poster URL. |
void |
setWidth(int width)
Sets the width of the element. |
| Methods inherited from class com.google.gwt.dom.client.MediaElement |
|---|
canPlayType, getBuffered, getCurrentSrc, getCurrentTime, getDefaultPlaybackRate, getDuration, getError, getInitialTime, getNetworkState, getPlaybackRate, getPlayed, getPreload, getReadyState, getSeekable, getSrc, getStartOffsetTime, getVolume, hasControls, hasEnded, isAutoplay, isLoop, isMuted, isPaused, isSeeking, load, pause, play, setAutoplay, setControls, setCurrentTime, setDefaultPlaybackRate, setLoop, setMuted, setPlaybackRate, setPreload, setSrc, setVolume |
| Methods inherited from class com.google.gwt.dom.client.Node |
|---|
appendChild, cloneNode, getChild, getChildCount, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, hasChildNodes, hasParentElement, insertAfter, insertBefore, insertFirst, isOrHasChild, removeAllChildren, removeChild, removeFromParent, replaceChild, setNodeValue |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TAG
public static final java.lang.String TYPE_MP4
public static final java.lang.String TYPE_OGG
public static final java.lang.String TYPE_WEBM
| Constructor Detail |
|---|
protected VideoElement()
| Method Detail |
|---|
public final int getHeight()
setHeight(int)public final java.lang.String getPoster()
setPoster(String)public final int getVideoHeight()
setHeight(int)public final int getVideoWidth()
setWidth(int)public final int getWidth()
setWidth(int)public final void setHeight(int height)
height - the height, in pixelsgetHeight()public final void setPoster(java.lang.String url)
url - the poster image URLgetPoster()public final void setWidth(int width)
width - the width, in pixelsgetWidth()
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||