Remove hard-coded colors for icons and texts. These will inherit the "content color" from the theme (which also happens to be white in the default theme).
Add THEOplayerTheme.playerColors to change the colors of some player-specific components. Right now, this holds the colors of the LiveButton's icon. You can override this by calling THEOplayerTheme with a different value for playerColors.
Make the live threshold of the LiveButton configurable through a liveThreshold parameter.
Drive-by fixes:
Hide the seekbar if the stream is live with no DVR window. Looks like I forgot to port this over to Android. 😅
THEOplayerTheme.playerColors
to change the colors of some player-specific components. Right now, this holds the colors of theLiveButton
's icon. You can override this by callingTHEOplayerTheme
with a different value forplayerColors
.LiveButton
configurable through aliveThreshold
parameter.Drive-by fixes: