Video player - Android
The videos player is a custom media player provided by the SDK that opens up a Video item and plays it.
The videos player can be customized using the BlazeVideosPlayerStyle on the global BlazeSDK.setDefaultVideosPlayerStyle method, or for specific widget utilizing the playerStyle property in the initWidget method.


Seek Controls
The player provides seek buttons (forward/backward) that allow users to skip 10 seconds in either direction. Seek buttons are automatically shown for content longer than 20 seconds and hidden for shorter content. Their appearance can be customized or disabled via BlazeVideosPlayerStyle.
In addition to the seek buttons, the player supports two gesture-based seek interactions:
-
Double-Tap Seek — Double-tapping on the left or right side of the player screen seeks backward or forward by 10 seconds respectively. Consecutive double-taps accumulate — for example, three quick double-taps on the right side will seek forward 30 seconds total, with visual feedback showing the cumulative seek amount (+10, +20, +30). When a double-tap reaches the end of the current video, the player automatically transitions to the next video (forward) or seeks to the beginning (backward).
-
2x Speed Mode — Long-pressing on the player activates 2x speed playback. The video plays at double speed for as long as the user holds the press. Releasing the press returns playback to normal speed. A visual indicator is shown while 2x speed mode is active. Speed mode is automatically disabled when the video ends or the user pauses playback.
Updated 11 days ago
