Class Video

All Implemented Interfaces:
Serializable, Cloneable, Component, DynamicPropertied, RawId, Scope, ComponentCtrl

public class Video extends AbstractTag
The VIDEO tag.
Author:
jameschu
See Also:
  • Constructor Details

    • Video

      public Video()
  • Method Details

    • isAutoplay

      public boolean isAutoplay()
      Returns the autoplay of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Since:
      8.5.1
    • setAutoplay

      public void setAutoplay(boolean autoplay) throws WrongValueException
      Sets the autoplay of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Throws:
      WrongValueException
      Since:
      8.5.1
    • getControls

      public String getControls()
      Returns the controls of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Since:
      8.5.1
    • setControls

      public void setControls(String controls) throws WrongValueException
      Sets the controls of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Throws:
      WrongValueException
      Since:
      8.5.1
    • getCrossorigin

      public String getCrossorigin()
      Returns the crossorigin of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Since:
      8.5.1
    • setCrossorigin

      public void setCrossorigin(String crossorigin) throws WrongValueException
      Sets the crossorigin of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Throws:
      WrongValueException
      Since:
      8.5.1
    • getHeight

      public String getHeight()
      Returns the height of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Since:
      8.5.1
    • setHeight

      public void setHeight(String height) throws WrongValueException
      Sets the height of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Throws:
      WrongValueException
      Since:
      8.5.1
    • isLoop

      public boolean isLoop()
      Returns the loop of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Since:
      8.5.1
    • setLoop

      public void setLoop(boolean loop) throws WrongValueException
      Sets the loop of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Throws:
      WrongValueException
      Since:
      8.5.1
    • isMuted

      public boolean isMuted()
      Returns the muted of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Since:
      8.5.1
    • setMuted

      public void setMuted(boolean muted) throws WrongValueException
      Sets the muted of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Throws:
      WrongValueException
      Since:
      8.5.1
    • getPreload

      public String getPreload()
      Returns the preload of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Since:
      8.5.1
    • setPreload

      public void setPreload(String preload) throws WrongValueException
      Sets the preload of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Throws:
      WrongValueException
      Since:
      8.5.1
    • getPoster

      public String getPoster()
      Returns the poster of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Since:
      8.5.1
    • setPoster

      public void setPoster(String poster) throws WrongValueException
      Sets the poster of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Throws:
      WrongValueException
      Since:
      8.5.1
    • getSrc

      public String getSrc()
      Returns the src of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Since:
      8.5.1
    • setSrc

      public void setSrc(String src) throws WrongValueException
      Sets the src of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Throws:
      WrongValueException
      Since:
      8.5.1
    • getWidth

      public String getWidth()
      Returns the width of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Since:
      8.5.1
    • setWidth

      public void setWidth(String width) throws WrongValueException
      Sets the width of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Throws:
      WrongValueException
      Since:
      8.5.1
    • isPlaysinline

      public boolean isPlaysinline()
      Returns the playsinline of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Since:
      8.5.1
    • setPlaysinline

      public void setPlaysinline(boolean playsinline) throws WrongValueException
      Sets the playsinline of this video tag.

      Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

      Throws:
      WrongValueException
      Since:
      8.5.1