Initializer
Video(String src, Boolean? autoPlay = null, Boolean? controls = null, Boolean? loop = null, Boolean? muted = null, MediaPreload? preload = null, String? poster = null, Integer? height = null, Integer? width = null, String? id = null, CssClass classNames = [], String? style = null, String? accessKey = null, String? contextMenu = null, TextDirection? dir = null, Boolean? draggable = null, DropZone? dropZone = null, Boolean? inert = null, Boolean? hidden = null, String? lang = null, Boolean? spellcheck = null, Integer? tabIndex = null, String? title = null, Boolean? translate = null, Aria? aria = null, NonstandardAttributes nonstandardAttributes = ..., DataContainer data = ..., {Source|{Source*}|Snippet<Source>|Null*} children = ...)
Parameters:
  • autoPlay = null
  • controls = null
  • loop = null
  • muted = null
  • preload = null
  • poster = null

    Specifies an image to be shown while the video is downloading, or until the user hits the play button.

  • height = null

    Sets the height of the video player.

  • width = null

    Sets the width of the video player.

  • id = null
  • classNames = []
  • style = null
  • accessKey = null
  • contextMenu = null
  • dir = null
  • draggable = null
  • dropZone = null
  • inert = null
  • hidden = null
  • lang = null
  • spellcheck = null
  • tabIndex = null
  • title = null
  • translate = null
  • aria = null
  • nonstandardAttributes = empty
  • data = empty
  • children = empty
Attributes
attributesSource Codeshared actual default <String->Object>[] attributes
Refines Media.attributes ultimately refines Node.attributes
heightSource Codeshared Integer? height

Sets the height of the video player.

posterSource Codeshared String? poster

Specifies an image to be shown while the video is downloading, or until the user hits the play button.

tagSource Codeshared actual Tag tag

The tag name and type.

Refines Node.tag
widthSource Codeshared Integer? width

Sets the width of the video player.

Inherited Attributes
Attributes inherited from: BaseElement
Attributes inherited from: Element
Attributes inherited from: Media
Attributes inherited from: Object
Attributes inherited from: StyledElement
Inherited Methods
Methods inherited from: Object