Skip to content

Video.js plugin that displays thumbnails on progress bar hover, driven by external VTT files.

License

Notifications You must be signed in to change notification settings

trex-arms/videojs-vtt-thumbnails

 
 

Repository files navigation

videojs-vtt-thumbnails

Video.js plugin that displays thumbnails on progress bar hover, driven by external VTT files. Based on this JW Player spec. Note, this plugin currently only supports sprited thumbnails.

Installation

npm install --save github:trex-arms/videojs-vtt-thumbnails#master

Usage

import videojs from 'video.js'
import register_vtt_thumbnails from 'videojs-vtt-thumbnails'
import 'videojs-vtt-thumbnails/index.css' // your bundler must be configured to handle this

register_vtt_thumbnails(videojs)

const player = videojs(target)

player.vttThumbnails({
	src: `https://image.mux.com/${mux_playback_id}/storyboard.vtt`,
})

About

Video.js plugin that displays thumbnails on progress bar hover, driven by external VTT files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.3%
  • CSS 4.7%