Skip to content

aervans/videojs-seek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video.js Seek

A videojs plugin for seeking to a query string specified time.

Using the Plugin

Initialize the plugin as described in step 3 of the Video.js plugin wiki page.

<script src='videojs-seek.min.js'></script>

By default the plugin will look for a query string parameter named 't'. The plugin expects the value of the query string parameter to be a value in seconds.

?t=60

Options

Custom query string parameter name (JS):

videojs('id', {}, function() {
  this.seek({ 'seek_param': 'time' })
});

Custom query string parameter name (HTML):

<video data-setup='{"seek_param": "time"}'>

Release History

  • 0.1.0: Initial release

About

A videojs plugin for seeking to a query string specified value.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published