VideoJS plugin to play a segment of a video
A JavaScript library by Carles Galan Cladera.
See the project homepage.
Using Bower:
bower install videojs-offset
Or grab the source (minified).
Basic usage is as follows:
videojs('my-video', {
plugins: {
offset: {
start: 10, //Start offset in seconds
end: 40 //End offset in seconds
}
}
});
Either start and end offset are referred to original video duration.
We'll check out your contribution if you:
- Provide a comprehensive suite of tests for your fork.
- Have a clear and documented rationale for your changes.
- Package these up in a pull request.
We'll do our best to help you out with any contribution issues you may have.
MIT. See LICENSE.txt
in this directory.