PlayerAnimations
data class PlayerAnimations(val controlsEnterDuration: Duration = 0.milliseconds, val controlsExitDuration: Duration = 500.milliseconds, val loadingSpinnerDelay: Duration = 500.milliseconds, val controlsHideDelay: Duration = 2.seconds, val menuTransitionDuration: Duration = 300.milliseconds)(source)
Animation settings used by THEOplayer UI components.
Constructors
Properties
Link copied to clipboard
The animation duration when fading in the player controls.
Link copied to clipboard
The animation duration when fading out the player controls.
Link copied to clipboard
How long the controls stay visible after user interaction while playing.
Link copied to clipboard
The delay for a loading spinner to become visible after the player starts buffering.
Link copied to clipboard
The animation duration when switching between menus, such as when opening a submenu or going back to the previous menu.