Skip to main content
Version: Next

UpdateOptions

All parameters are optional. You also only need to specify the ones you want to update.

ParamTypeDescriptionAndroidiOSWeb
ratingTypeRatingTypeThe rating typeโœ…โŒโŒ
forwardJumpIntervalnumberThe interval in seconds for the jump forward buttons (if only one is given then we use that value for both)โœ…โœ…โœ…
backwardJumpIntervalnumberThe interval in seconds for the jump backward buttons (if only one is given then we use that value for both)โœ…โœ…โœ…
androidAndroidOptionsWhether the player will pause playback when the app closesโœ…โŒโŒ
likeOptionsFeedbackOptionsThe media controls that will be enabledโŒโœ…โŒ
dislikeOptionsFeedbackOptionsThe media controls that will be enabledโŒโœ…โŒ
bookmarkOptionsFeedbackOptionsThe media controls that will be enabledโŒโœ…โŒ
capabilitiesCapability[]The media controls that will be enabledโœ…โœ…โŒ
notificationCapabilitiesCapability[]The buttons that it will show in the notification. Defaults to data.capabilitiesโœ…โŒโŒ
colornumberThe notification color in an ARGB hexโœ…โŒโŒ
progressUpdateEventIntervalnumberThe interval (in seconds) that the Event.PlaybackProgressUpdated will be fired. undefined by default.โœ…โœ…โœ…

ยน - The custom icons will only work in release builds