Icons

ID: vIcons | Type: Plugin

View Source

This plugin loads the default Vime icons into the browser.

Defaults

  • play

  • pause

  • captionsOn

  • captionsOff

  • enterFullscreen

  • exitFullscreen

  • enterPiP

  • exitPiP

  • seekForward

  • seekBackward

  • volumeLow

  • volumeHigh

  • volumeMute

  • settings

  • checkmark

Setup

Basic
Manager
Basic
import { Player, Icons } from '@vime-js/complete';
// ...
const player = new Player({
target,
props: {
plugins: [Icons]
}
});
Manager
import { Player, Icons } from '@vime-js/complete';
// ...
player
.getPluginsManager()
.addPlugin(Icons)
.then((icons) => {
// ...
});