mickey / videojs-progressTips

video.js plugin to display the time on hover of the progress bar.
MIT License
23 stars 20 forks source link

videojs-progressTips

Display a tooltip on hover with the time on video.js players.

videojs-progressTips

This plugin was updated to and tested on video.js 4.6.4. It depends on jQuery.

Getting Started

Download videojs and videojs.ga

In your web page:

<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<script src="https://github.com/mickey/videojs-progressTips/raw/master/video.js"></script>
<script src="https://github.com/mickey/videojs-progressTips/raw/master/dist/videojs.progressTips.min.js"></script>
<link rel="stylesheet" href="https://github.com/mickey/videojs-progressTips/blob/master/dist/videojs.progressTips.css" type="text/css" />
<video id="video" src="https://github.com/mickey/videojs-progressTips/raw/master/movie.mp4" controls></video>
<script>
videojs('video', {}, function() {
  this.progressTips(); // "load the plugin, no options!"
});
</script>

Options

No options so far! YAY!