Web::DOM::HTMLVideoElement
DOM HTMLVideoElement
object
DESCRIPTION
The Web::DOM::HTMLVideoElement
class implements the DOM HTMLVideoElement
interface.
The class is used by HTML video
elements.
METHODS
In addition to the methods of classes Web::DOM::EventTarget, Web::DOM::Node, Web::DOM::Element, Web::DOM::HTMLElement, and Web::DOM::HTMLMediaElement, the following methods are available:
$integer = $el->height
$el->height ($integer)
-
Return or set the
height
attribute. [HTML] $boolean = $el->playsinline
$el->playsinline ($boolean)
-
Return or set the
playsinline
attribute. [HTML] $string = $el->poster
$el->poster ($string)
-
Return or set the
poster
attribute. [HTML] $integer = $el->width
$el->width ($integer)
-
Return or set the
width
attribute. [HTML]
SPECIFICATION
- HTML
-
HTML Standard
<https://www.whatwg.org/specs/web-apps/current-work/#the-video-element>
.
SEE ALSO
AUTHOR
Wakaba <wakaba@suikawiki.org>.
LICENSE
Copyright 2013-2016 Wakaba <wakaba@suikawiki.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.