Exoplayer UI 1.0.4
Events
Event raised when fullscreen button is clicked and its status changes. Here you can perform different functions to enter or exit fullscreen.
Example
Event raised when controls visibility changes. Here you can update your UI. For example : You can show/hide a title label etch.
Functions
Create player view in a layout.
Create styled player view.
Show controls.
Hide Controls.
Show system UI. The function is in experimental phase and may not work properly.
Hide System UI. The function is in experimental phase and may not work properly.
Properties
Show or hide player controls
Set whether to show an image when playing an audio file.
Set default thumbnail in case if there is no thumbnail in media metadata, the player will show this thumbnail. It works only for audio files.
Set repeat toggle modes. This will show/hide repeat toggle button.
Set when to show loading progress indicator.
Set video resize mode
Automatically show controller when media is interupted during playback.
Milliseconds after which the controller should hide.
Hide controller on touch.
Whether to use default controller or not.
Enable/Disable controls animation.
Track Properties
Active thumb size.
Thumb size.
Disabled thumb size.
Buffered track color.
Track color.
Progress color.
Subtitle Properties
Subtitle background color.
Subtitle foreground color. ( Text Color )
Subtitle edge color.
Subtitle window color.
Text size type.
1- Use SizeTypeAbsolute if you want to set a specific font size irrespective of the player size.
2- Use SizeTypeFractional if you want to set font size relative the player size.
Absolute text size.
Fractional text size.
Subtitle render view type. Use ViewTypeWeb if your subtitles have html styles embedded. For general purpose, you can always use ViewTypeCanvas.
Subtitle edge type.
Subtitle bottom padding.
Whether to ignore bottom padding or not.
Specify a custom font.










