DocumentationPreviewPreviewPlayerPlayerPlaygroundPlayground
GitHubGitHub (opens in a new tab)Discord (opens in a new tab)
  • Introduction
    • Get Started
    • Player Configuration
    • Advanced
  • Plugins
  • @oplayer/ui
  • @oplayer/danmaku
  • @oplayer/react
    • Playlist
    • Vtt Thumbnails
  • @oplayer/vast
  • WorldPress ↗ (opens in a new tab)
  • Loaders
  • @oplayer/hls
  • @oplayer/dash
  • @oplayer/mpegts
  • @oplayer/torrent
  • More
  • QQ ↗ (opens in a new tab)
  • Introduction
    • Get Started
    • Player Configuration
    • Advanced
  • Plugins
  • @oplayer/ui
  • @oplayer/danmaku
  • @oplayer/react
    • Playlist
    • Vtt Thumbnails
      • VTT thumbnails
  • @oplayer/vast
  • WorldPress ↗ (opens in a new tab)
  • Loaders
  • @oplayer/hls
  • @oplayer/dash
  • @oplayer/mpegts
  • @oplayer/torrent
  • More
  • QQ ↗ (opens in a new tab)
  • Preview
  • Player
  • Playground

On This Page

  • VTT thumbnails
Question? Give us feedback → (opens in a new tab)Edit this page on GitHub →
@oplayer/plugins
Vtt Thumbnails

VTT thumbnails

requirement @oplayer/ui

npm i @oplayer/ui @oplayer/plugins
import Player from '@oplayer/react'
import ui from '@oplayer/ui'
import { vttThumbnails } from '@oplayer/plugins'
 
Player.make('#player').use([ui(), vttThumbnails]).create()
Playlist@oplayer/vast