Skip to content

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

License

Notifications You must be signed in to change notification settings

Reelhouse/videojs-resume

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •