Interface VideoBuilder

All Superinterfaces:
ElementBuilderBase<VideoBuilder>, MediaBuilder<VideoBuilder>
All Known Implementing Classes:
DomVideoBuilder, HtmlVideoBuilder

public interface VideoBuilder extends MediaBuilder<VideoBuilder>
Builds an video element.
  • Method Details

    • height

      VideoBuilder height(int height)
      Sets the height of the element.
      Parameters:
      height - the height, in pixels
    • poster

      VideoBuilder poster(String url)
      Sets the poster URL.
      Parameters:
      url - the poster image URL
    • width

      VideoBuilder width(int width)
      Sets the width of the element.
      Parameters:
      width - the width, in pixels