Skip to content
A VideoJS plugin to resume playback of a video at the point in time it was left.
Branch: master
Clone or download
Latest commit f748860 Sep 6, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist Merge remote-tracking branch 'original/master' Feb 4, 2016
examples It's an example, not a test Mar 16, 2016
src Added video resume event Feb 3, 2016
.editorconfig Make it so Nov 3, 2015
.gitignore Make it so Nov 3, 2015
.npmignore It's an example, not a test Mar 16, 2016
LICENSE Update Copyright Jun 1, 2016
Readme.md
package.json Bump version Feb 5, 2016

Readme.md

VideoJS Resume

A VideoJS plugin to resume playback of a video at the point in time it was left.

Usage

Requires Video.js 5.1.0 or greater & store.js.

Include:

  • store.js
  • videojs-resume.min.css
  • videojs-resume.min.js
  var player = videojs('example-video');
  player.Resume({
    uuid: 'UNIQUE_VIDEO_IDENTIFIER',
    playbackOffset: 5, // begin playing video this number of seconds before it otherwise would.
    title: 'Custom title of resume modal dialog',
    resumeButtonText: 'Custom resume button text',
    cancelButtonText: 'Custom cancel button text'
  });

Example

Example using Video.js 5

Support

Browser testing for this project has been graciously donated by BrowserStack.

License

Licesned Apache 2. See LICENSE file.

You can’t perform that action at this time.