mickey / videojs-progressTips

video.js plugin to display the time on hover of the progress bar.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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="video.js"></script>
<script src="dist/videojs.progressTips.min.js"></script>
<link rel="stylesheet" href="dist/videojs.progressTips.css" type="text/css" />
<video id="video" src="movie.mp4" controls></video>
<script>
videojs('video', {}, function() {
  this.progressTips(); // "load the plugin, no options!"
});
</script>

Options

No options so far! YAY!

About

video.js plugin to display the time on hover of the progress bar.

License:MIT License


Languages

Language:JavaScript 84.7%Language:CSS 15.0%Language:CoffeeScript 0.3%