Class HTMLVideoElement

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

    public class HTMLVideoElement
    extends HTMLMediaElement
    The JavaScript object HTMLVideoElement.
    See Also:
    Serialized Form
    • Constructor Detail

      • HTMLVideoElement

        public HTMLVideoElement()
        Creates an instance.
    • Method Detail

      • getWidth

        public int getWidth()
        Returns the width property.
        Returns:
        the width property
      • setWidth

        public void setWidth​(int width)
        Sets the width property.
        Parameters:
        width - the width property
      • getHeight

        public int getHeight()
        Returns the height property.
        Returns:
        the height property
      • setHeight

        public void setHeight​(int height)
        Sets the height property.
        Parameters:
        height - the height property