Class VideoPlayerConfig

    • Method Detail

      • getPrimaryColor

         final String getPrimaryColor()

        determines the color of various visual elements within the video player, e.g. the color of the controls. This should be a hexadecimal color code (e.g. #FFFFFF)

      • getSecondaryColor

         final String getSecondaryColor()

        will be used in the future to determine the color of various visual elements, but is not used yet. This should be a hexadecimal color code (e.g. #000000)

      • getAutoPlay

         final Boolean getAutoPlay()

        determines whether a video stream should start playing immediately after it is loaded into the VideoPlayer, or if it should wait for the user to press play.

      • getEnableControls

         final Boolean getEnableControls()

        Indicates whether the set of controls buttons should be shown (true) or hidden (false). This will over-ride other properties.

      • getShowBackForwardsButtons

         final Boolean getShowBackForwardsButtons()

        Indicates whether the 10s backwards/forwards buttons should be shown (true) or hidden (false).

      • getShowSeekBar

         final Boolean getShowSeekBar()

        Indicates whether the seek-bar should be shown (true) or hidden (false).

      • getShowTimers

         final Boolean getShowTimers()

        Indicates whether the timers (elapsed timer & total timer) should be shown (true) or hidden (false).

      • getShowLiveViewers

         final Boolean getShowLiveViewers()

        Indicates whether the number of concurrent viewers on a live stream should be shown (true) or hidden (false).

      • getShowEventInfoButton

         final Boolean getShowEventInfoButton()

        Indicates whether the "info" button in the top-right corner of the video player should be shown (true) or hidden (false).