public interface VideoElement extends MediaElement
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.EOS_DECODE_ERR, EOS_NETWORK_ERR, EOS_NO_ERROR, HAVE_CURRENT_DATA, HAVE_ENOUGH_DATA, HAVE_FUTURE_DATA, HAVE_METADATA, HAVE_NOTHING, NETWORK_EMPTY, NETWORK_IDLE, NETWORK_LOADING, NETWORK_NO_SOURCE, SOURCE_CLOSED, SOURCE_ENDED, SOURCE_OPEN
ALLOW_KEYBOARD_INPUT
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Reflects the
height
HTML attribute, which specifies the height of the display area, in CSS pixels. |
String |
getPoster()
Reflects the
poster
HTML attribute, which specifies an image to show while no video data is available. |
int |
getVideoHeight()
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.
|
int |
getVideoWidth()
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.
|
int |
getWebkitDecodedFrameCount() |
int |
getWebkitDroppedFrameCount() |
int |
getWidth()
Reflects the
width
HTML attribute, which specifies the width of the display area, in CSS pixels. |
boolean |
isWebkitDisplayingFullscreen() |
boolean |
isWebkitSupportsFullscreen() |
void |
setHeight(int arg) |
void |
setPoster(String arg) |
void |
setWidth(int arg) |
void |
webkitEnterFullscreen() |
void |
webkitEnterFullScreen() |
void |
webkitExitFullscreen() |
void |
webkitExitFullScreen() |
addTextTrack, addTextTrack, addTextTrack, canPlayType, getBuffered, getController, getCurrentSrc, getCurrentTime, getDefaultPlaybackRate, getDuration, getError, getInitialTime, getMediaGroup, getNetworkState, getOnwebkitkeyadded, getOnwebkitkeyerror, getOnwebkitkeymessage, getOnwebkitneedkey, getOnwebkitsourceclose, getOnwebkitsourceended, getOnwebkitsourceopen, getPlaybackRate, getPlayed, getPreload, getReadyState, getSeekable, getSrc, getStartTime, getTextTracks, getVolume, getWebkitAudioDecodedByteCount, getWebkitMediaSourceURL, getWebkitSourceState, getWebkitVideoDecodedByteCount, isAutoplay, isControls, isDefaultMuted, isEnded, isLoop, isMuted, isPaused, isSeeking, isWebkitClosedCaptionsVisible, isWebkitHasClosedCaptions, isWebkitPreservesPitch, load, pause, play, setAutoplay, setController, setControls, setCurrentTime, setDefaultMuted, setDefaultPlaybackRate, setLoop, setMediaGroup, setMuted, setOnwebkitkeyadded, setOnwebkitkeyerror, setOnwebkitkeymessage, setOnwebkitneedkey, setOnwebkitsourceclose, setOnwebkitsourceended, setOnwebkitsourceopen, setPlaybackRate, setPreload, setSrc, setVolume, setWebkitClosedCaptionsVisible, setWebkitPreservesPitch, webkitAddKey, webkitAddKey, webkitCancelKeyRequest, webkitGenerateKeyRequest, webkitGenerateKeyRequest, webkitSourceAbort, webkitSourceAddId, webkitSourceAppend, webkitSourceBuffered, webkitSourceEndOfStream, webkitSourceRemoveId
blur, click, focus, getAccessKey, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getChildElementCount, getChildren, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getContentEditable, getDataset, getDir, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getInnerText, getLang, getLastElementChild, getNextElementSibling, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getOnabort, getOnbeforecopy, getOnbeforecut, getOnbeforepaste, getOnblur, getOnchange, getOnclick, getOncontextmenu, getOncopy, getOncut, getOndblclick, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOnerror, getOnfocus, getOninput, getOninvalid, getOnkeydown, getOnkeypress, getOnkeyup, getOnload, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnmousewheel, getOnpaste, getOnreset, getOnscroll, getOnsearch, getOnselect, getOnselectstart, getOnsubmit, getOntouchcancel, getOntouchend, getOntouchmove, getOntouchstart, getOnwebkitfullscreenchange, getOnwebkitfullscreenerror, getOuterHTML, getOuterText, getPreviousElementSibling, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getStyle, getTabIndex, getTagName, getTitle, getWebkitdropzone, getWebkitRegionOverflow, hasAttribute, hasAttributeNS, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, isContentEditable, isDraggable, isHidden, isSpellcheck, isTranslate, querySelector, querySelectorAll, removeAttribute, removeAttributeNode, removeAttributeNS, scrollByLines, scrollByPages, scrollIntoView, scrollIntoView, scrollIntoViewIfNeeded, scrollIntoViewIfNeeded, setAccessKey, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setContentEditable, setDir, setDraggable, setHidden, setId, setInnerHTML, setInnerText, setLang, setOnabort, setOnbeforecopy, setOnbeforecut, setOnbeforepaste, setOnblur, setOnchange, setOnclick, setOncontextmenu, setOncopy, setOncut, setOndblclick, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOnerror, setOnfocus, setOninput, setOninvalid, setOnkeydown, setOnkeypress, setOnkeyup, setOnload, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnmousewheel, setOnpaste, setOnreset, setOnscroll, setOnsearch, setOnselect, setOnselectstart, setOnsubmit, setOntouchcancel, setOntouchend, setOntouchmove, setOntouchstart, setOnwebkitfullscreenchange, setOnwebkitfullscreenerror, setOuterHTML, setOuterText, setScrollLeft, setScrollTop, setSpellcheck, setTabIndex, setTitle, setTranslate, setWebkitdropzone, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullScreen
addEventListener, addEventListener, appendChild, cloneNode, compareDocumentPosition, contains, dispatchEvent, getAttributes, getBaseURI, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeEventListener, removeEventListener, replaceChild, setNodeValue, setPrefix, setTextContent
int getHeight()
height
HTML attribute, which specifies the height of the display area, in CSS pixels.void setHeight(int arg)
String getPoster()
poster
HTML attribute, which specifies an image to show while no video data is available.void setPoster(String arg)
int getVideoHeight()
int getVideoWidth()
int getWebkitDecodedFrameCount()
boolean isWebkitDisplayingFullscreen()
int getWebkitDroppedFrameCount()
boolean isWebkitSupportsFullscreen()
int getWidth()
width
HTML attribute, which specifies the width of the display area, in CSS pixels.void setWidth(int arg)
void webkitEnterFullScreen()
void webkitEnterFullscreen()
void webkitExitFullScreen()
void webkitExitFullscreen()
Copyright © 2016. All rights reserved.