Not documented.

Inheritance
Implements
Annotations
  • DomName('HTMLVideoElement')

Properties

attributes Map<String,String>
read / write, inherited

All attributes on this element.

audioDecodedByteCount int
read-only, inherited

audioTracks AudioTrackList
read-only, inherited

autoplay bool
read / write, inherited

baseUri String
read-only, inherited

borderEdge CssRect
read-only, inherited

Access the dimensions and position of this element's content + padding + border box.

buffered TimeRanges
read-only, inherited

childNodes List<Node>
read-only, inherited

A list of this node's children.

children List<Element>
read / write, inherited

List of the direct children of this element.

classes CssClassSet
read / write, inherited

The set of CSS classes applied to this element.

className String
read / write, inherited

client Rectangle
read-only, inherited

Gets the position of this element relative to the client area of the page.

clientHeight int
read-only, inherited

clientLeft int
read-only, inherited

clientTop int
read-only, inherited

clientWidth int
read-only, inherited

contentEdge CssRect
read-only, inherited

Access this element's content position.

contentEditable String
read / write, inherited

contextMenu MenuElement
read / write, inherited

controller MediaController
read / write, inherited

controls bool
read / write, inherited

crossOrigin String
read / write, inherited

currentSrc String
read-only, inherited

currentTime num
read / write, inherited

dataset Map<String,String>
read / write, inherited

Allows access to all custom data attributes (data-*) set on this element.

decodedFrameCount int
read-only

defaultMuted bool
read / write, inherited

defaultPlaybackRate num
read / write, inherited

dir String
read / write, inherited

documentOffset Point
read-only, inherited

Provides the coordinates of the element relative to the top of the document.

draggable bool
read / write, inherited

droppedFrameCount int
read-only

dropzone String
read / write, inherited

duration double
read-only, inherited

ended bool
read-only, inherited

error MediaError
read-only, inherited

firstChild Node
read-only, inherited

The first child of this node.

height int
read / write

hidden bool
read / write, inherited

id String
read / write, inherited

innerHtml String
read / write, inherited

Parses the HTML fragment and sets it as the contents of this element.

inputMethodContext InputMethodContext
read-only, inherited

integrity String
read / write, inherited

isContentEditable bool
read-only, inherited

lang String
read / write, inherited

lastChild Node
read-only, inherited

The last child of this node.

localName String
read-only, inherited

loop bool
read / write, inherited

marginEdge CssRect
read-only, inherited

Access the dimensions and position of this element's content + padding + border + margin box.

mediaGroup String
read / write, inherited

mediaKeys MediaKeys
read-only, inherited

muted bool
read / write, inherited

namespaceUri String
read-only, inherited

A URI that identifies the XML namespace of this element.

networkState int
read-only, inherited

nextElementSibling Element
read-only, inherited

nextNode Node
read-only, inherited

The next sibling node.

nodeName String
read-only, inherited

The name of this node.

nodes List<Node>
read / write, inherited

A modifiable list of this node's children.

nodeType int
read-only, inherited

The type of node.

nodeValue String
read-only, inherited

The value of this node.

offset Rectangle
read-only, inherited

Gets the offset of this element relative to its offsetParent.

offsetHeight int
read-only, inherited

offsetLeft int
read-only, inherited

offsetParent Element
read-only, inherited

offsetTop int
read-only, inherited

offsetWidth int
read-only, inherited

on ElementEvents
read-only, inherited

This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

onAbort ElementStream<Event>
read-only, inherited

onBeforeCopy ElementStream<Event>
read-only, inherited

Stream of beforecopy events handled by this Element.

onBeforeCut ElementStream<Event>
read-only, inherited

Stream of beforecut events handled by this Element.

onBeforePaste ElementStream<Event>
read-only, inherited

Stream of beforepaste events handled by this Element.

onBlur ElementStream<Event>
read-only, inherited

onCanPlay ElementStream<Event>
read-only, inherited

onCanPlayThrough ElementStream<Event>
read-only, inherited

onChange ElementStream<Event>
read-only, inherited

onClick ElementStream<MouseEvent>
read-only, inherited

onContextMenu ElementStream<MouseEvent>
read-only, inherited

onCopy ElementStream<Event>
read-only, inherited

Stream of copy events handled by this Element.

onCut ElementStream<Event>
read-only, inherited

Stream of cut events handled by this Element.

onDoubleClick ElementStream<Event>
read-only, inherited

onDrag ElementStream<MouseEvent>
read-only, inherited

onDragEnd ElementStream<MouseEvent>
read-only, inherited

onDragEnter ElementStream<MouseEvent>
read-only, inherited

onDragLeave ElementStream<MouseEvent>
read-only, inherited

onDragOver ElementStream<MouseEvent>
read-only, inherited

onDragStart ElementStream<MouseEvent>
read-only, inherited

onDrop ElementStream<MouseEvent>
read-only, inherited

onDurationChange ElementStream<Event>
read-only, inherited

onEmptied ElementStream<Event>
read-only, inherited

onEnded ElementStream<Event>
read-only, inherited

onError ElementStream<Event>
read-only, inherited

onFocus ElementStream<Event>
read-only, inherited

onFullscreenChange ElementStream<Event>
read-only, inherited

Stream of fullscreenchange events handled by this Element.

onFullscreenError ElementStream<Event>
read-only, inherited

Stream of fullscreenerror events handled by this Element.

onInput ElementStream<Event>
read-only, inherited

onInvalid ElementStream<Event>
read-only, inherited

onKeyAdded ElementStream<MediaKeyEvent>
read-only, inherited

Stream of keyadded events handled by this MediaElement.

onKeyDown ElementStream<KeyboardEvent>
read-only, inherited

onKeyError ElementStream<MediaKeyEvent>
read-only, inherited

Stream of keyerror events handled by this MediaElement.

onKeyMessage ElementStream<MediaKeyEvent>
read-only, inherited

Stream of keymessage events handled by this MediaElement.

onKeyPress ElementStream<KeyboardEvent>
read-only, inherited

onKeyUp ElementStream<KeyboardEvent>
read-only, inherited

onLoad ElementStream<Event>
read-only, inherited

onLoadedData ElementStream<Event>
read-only, inherited

onLoadedMetadata ElementStream<Event>
read-only, inherited

onMouseDown ElementStream<MouseEvent>
read-only, inherited

onMouseEnter ElementStream<MouseEvent>
read-only, inherited

onMouseLeave ElementStream<MouseEvent>
read-only, inherited

onMouseMove ElementStream<MouseEvent>
read-only, inherited

onMouseOut ElementStream<MouseEvent>
read-only, inherited

onMouseOver ElementStream<MouseEvent>
read-only, inherited

onMouseUp ElementStream<MouseEvent>
read-only, inherited

onMouseWheel ElementStream<WheelEvent>
read-only, inherited

onNeedKey ElementStream<MediaKeyEvent>
read-only, inherited

Stream of needkey events handled by this MediaElement.

onPaste ElementStream<Event>
read-only, inherited

Stream of paste events handled by this Element.

onPause ElementStream<Event>
read-only, inherited

onPlay ElementStream<Event>
read-only, inherited

onPlaying ElementStream<Event>
read-only, inherited

onRateChange ElementStream<Event>
read-only, inherited

onReset ElementStream<Event>
read-only, inherited

onResize ElementStream<Event>
read-only, inherited

onScroll ElementStream<Event>
read-only, inherited

onSearch ElementStream<Event>
read-only, inherited

Stream of search events handled by this Element.

onSeeked ElementStream<Event>
read-only, inherited

onSeeking ElementStream<Event>
read-only, inherited

onSelect ElementStream<Event>
read-only, inherited

onSelectStart ElementStream<Event>
read-only, inherited

Stream of selectstart events handled by this Element.

onStalled ElementStream<Event>
read-only, inherited

onSubmit ElementStream<Event>
read-only, inherited

onSuspend ElementStream<Event>
read-only, inherited

onTimeUpdate ElementStream<Event>
read-only, inherited

onTouchCancel ElementStream<TouchEvent>
read-only, inherited

Stream of touchcancel events handled by this Element.

onTouchEnd ElementStream<TouchEvent>
read-only, inherited

Stream of touchend events handled by this Element.

onTouchEnter ElementStream<TouchEvent>
read-only, inherited

Stream of touchenter events handled by this Element.

onTouchLeave ElementStream<TouchEvent>
read-only, inherited

Stream of touchleave events handled by this Element.

onTouchMove ElementStream<TouchEvent>
read-only, inherited

Stream of touchmove events handled by this Element.

onTouchStart ElementStream<TouchEvent>
read-only, inherited

Stream of touchstart events handled by this Element.

onTransitionEnd ElementStream<TransitionEvent>
read-only, inherited

Stream of transitionend events handled by this Element.

onVolumeChange ElementStream<Event>
read-only, inherited

onWaiting ElementStream<Event>
read-only, inherited

outerHtml String
read-only, inherited

ownerDocument Document
read-only, inherited

The document this node belongs to.

paddingEdge CssRect
read-only, inherited

Access the dimensions and position of this element's content + padding box.

parent Element
read-only, inherited

The parent element of this node.

parentNode Node
read-only, inherited

The parent node of this node.

paused bool
read-only, inherited

playbackRate num
read / write, inherited

played TimeRanges
read-only, inherited

poster String
read / write

preload String
read / write, inherited

previousElementSibling Element
read-only, inherited

previousNode Node
read-only, inherited

The previous sibling node.

readyState int
read-only, inherited

scrollHeight int
read-only, inherited

scrollLeft int
read / write, inherited

scrollTop int
read / write, inherited

scrollWidth int
read-only, inherited

seekable TimeRanges
read-only, inherited

seeking bool
read-only, inherited

shadowRoot ShadowRoot
read-only, inherited

spellcheck bool
read / write, inherited

src String
read / write, inherited

style CssStyleDeclaration
read-only, inherited

tabIndex int
read / write, inherited

tagName String
read-only, inherited

text String
read / write, inherited

All text within this node and its decendents.

textTracks TextTrackList
read-only, inherited

title String
read / write, inherited

translate bool
read / write, inherited

videoDecodedByteCount int
read-only, inherited

videoHeight int
read-only

videoTracks VideoTrackList
read-only, inherited

videoWidth int
read-only

volume num
read / write, inherited

width int
read / write

xtag → dynamic
read / write, inherited

Experimental support for web components. This field stores a reference to the component implementation. It was inspired by Mozilla's x-tags project. Please note: in the future it may be possible to extend Element from your class, in which case this field will be deprecated.

Constructors

VideoElement()

VideoElement.created()

Constructor instantiated by the DOM when a custom element has been created.

Methods

addEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited

addKey(String keySystem, Uint8List key, [Uint8List initData, String sessionId]) → void
inherited

addTextTrack(String kind, [String label, String language]) → TextTrack
inherited

animate(Object effect, [Object timing]) → AnimationPlayer
inherited

append(Node newChild) → Node
inherited

Adds a node to the end of the child nodes list of this node.

appendHtml(String text, {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) → void
inherited

Parses the specified text as HTML and adds the resulting node after the last child of this element.

appendText(String text) → void
inherited

Adds the specified text after the last child of this element.

attached() → void
inherited

Called by the DOM when this element has been inserted into the live document.

attributeChanged(String name, String oldValue, String newValue) → void
inherited

Called by the DOM whenever an attribute on this has been changed.

blur() → void
inherited

cancelKeyRequest(String keySystem, String sessionId) → void
inherited

canPlayType(String type, [String keySystem]) → String
inherited

click() → void
inherited

clone(bool deep) → Node
inherited

Returns a copy of this node.

contains(Node other) → bool
inherited

Returns true if this node contains the specified node.

createFragment(String html, {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) → DocumentFragment
inherited

Create a DocumentFragment from the HTML fragment and ensure that it follows the sanitization rules specified by the validator or treeSanitizer.

createShadowRoot() → ShadowRoot
inherited

detached() → void
inherited

Called by the DOM when this element has been removed from the live document.

dispatchEvent(Event event) → bool
inherited

enteredView() → void
inherited

Deprecated*: override attached instead.

enterFullscreen() → void

exitFullscreen() → void

focus() → void
inherited

generateKeyRequest(String keySystem, [Uint8List initData]) → void
inherited

getAnimationPlayers() → List<AnimationPlayer>
inherited

getAttribute(String name) → String
inherited

getAttributeNS(String namespaceURI, String localName) → String
inherited

getBoundingClientRect() → Rectangle
inherited

Returns the smallest bounding rectangle that encompasses this element's padding, scrollbar, and border.

getClientRects() → List<Rectangle>
inherited

Returns a list of bounding rectangles for each box associated with this element.

getComputedStyle([String pseudoElement]) → CssStyleDeclaration
inherited

The set of all CSS values applied to this element, including inherited and default values.

getDestinationInsertionPoints() → List<Node>
inherited

Returns a list of shadow DOM insertion points to which this element is distributed.

getElementsByClassName(String classNames) → List<Node>
inherited

Returns a list of nodes with the given class name inside this element.

getNamespacedAttributes(String namespace) → Map<String,String>
inherited

Gets a map for manipulating the attributes of a particular namespace.

getVideoPlaybackQuality() → VideoPlaybackQuality

hasChildNodes() → bool
inherited

Returns true if this node has any children.

insertAdjacentElement(String where, Element element) → Element
inherited

insertAdjacentHtml(String where, String html, {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) → void
inherited

Parses text as an HTML fragment and inserts it into the DOM at the specified location.

insertAdjacentText(String where, String text) → void
inherited

insertAllBefore(Iterable<Node> newNodes, Node refChild) → Node
inherited

Inserts all of the nodes into this node directly before refChild.

insertBefore(Node newChild, Node refChild) → Node
inherited

Inserts all of the nodes into this node directly before refChild.

leftView() → void
inherited

Deprecated*: override detached instead.

load() → void
inherited

matches(String selectors) → bool
inherited

matchesWithAncestors(String selectors) → bool
inherited

Checks if this element or any of its parents match the CSS selectors.

offsetTo(Element parent) → Point
inherited

Provides the offset of this element's borderEdge relative to the specified parent.

pause() → void
inherited

play() → void
inherited

query(String relativeSelectors) → Element
inherited

Alias for querySelector. Note this function is deprecated because its semantics will be changing in the future.

queryAll(String relativeSelectors) → ElementList<Element>
inherited

Alias for querySelectorAll. Note this function is deprecated because its semantics will be changing in the future.

querySelector(String selectors) → Element
inherited

Finds the first descendant element of this element that matches the specified group of selectors.

querySelectorAll(String selectors) → ElementList<Element>
inherited

Finds all descendent elements of this element that match the specified group of selectors.

remove() → void
inherited

Removes this node from the DOM.

removeEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited

replaceWith(Node otherNode) → Node
inherited

Replaces this node with another node.

requestFullscreen() → void
inherited

requestPointerLock() → void
inherited

scrollIntoView([ScrollAlignment alignment]) → void
inherited

Scrolls this element into view.

setAttribute(String name, String value) → void
inherited

setAttributeNS(String namespaceURI, String qualifiedName, String value) → void
inherited

setInnerHtml(String html, {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) → void
inherited

Parses the HTML fragment and sets it as the contents of this element. This ensures that the generated content follows the sanitization rules specified by the validator or treeSanitizer.

setMediaKeys(MediaKeys mediaKeys) → Future
inherited

toString() → String
inherited

The string representation of this element.