Class VideoAssets

  • All Implemented Interfaces:
    Serializable

    public class VideoAssets
    extends Object
    implements Serializable
    Collection of details about the video object that you can use to work with the video object.
    See Also:
    Serialized Form
    • Constructor Detail

      • VideoAssets

        public VideoAssets()
    • Method Detail

      • getHls

        @Nullable
        public URI getHls()
        This is the manifest URL. For HTTP Live Streaming (HLS), when a HLS video stream is initiated, the first file to download is the manifest. This file has the extension M3U8, and provides the video player with information about the various bitrates available for streaming.
        Returns:
        hls
      • setHls

        public void setHls​(URI hls)
      • getIframe

        @Nullable
        public String getIframe()
        Code to use video from a third party website
        Returns:
        iframe
      • setIframe

        public void setIframe​(String iframe)
      • getPlayer

        @Nullable
        public URI getPlayer()
        Raw url of the player.
        Returns:
        player
      • setPlayer

        public void setPlayer​(URI player)
      • getThumbnail

        @Nullable
        public URI getThumbnail()
        Poster of the video.
        Returns:
        thumbnail
      • setThumbnail

        public void setThumbnail​(URI thumbnail)
      • getMp4

        @Nullable
        public URI getMp4()
        Available only if mp4Support is enabled. Raw mp4 url.
        Returns:
        mp4
      • setMp4

        public void setMp4​(URI mp4)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object