Version: 1.x
Customization
This page will guide you on how to extend or customize the player. Refer to the Player API for what props/methods/events are available and how to interact with them.
#
Loading ProvidersProviders are loaded via the providers
prop.
info
Checkout the provider notes for any provider specific issues or features.
#
Loading PluginsPlugins are loaded via the plugins
prop, see the plugins getting started
page for more information.
#
Loading IconsIcons are set via the icons
prop.
#
Vime IconsYou can load the default Vime icons by using the Icons
plugin.
#
Custom IconsCreate an SVG sprite and insert it into the head of the document. You can then override the following default icons.
- play
- pause
- captionsOn
- captionsOff
- enterFullscreen
- exitFullscreen
- enterPiP
- exitPiP
- seekForward
- seekBackward
- volumeLow
- volumeHigh
- volumeMute
- settings
- checkmark
#
Extending LanguageYou can add your own language via the languages
prop.
#
ThemingYou can style the player via the theme
prop. Under the hood it utilizes CSS custom properties.
#
CSS Vars- color
- fontFamily
- fontSizeSmall
- fontSizeMedium
- fontSizeLarge
- fontSizeExtraLarge
- fontWeightLight
- fontWeightRegular
- fontWeighBold
- baseLineHeight