Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To add support for windows line endings. #23

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ node_modules/
.yo-rc.json

# Build-related directories
dist/
# dist/
docs/api/
test/dist/
22 changes: 1 addition & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# videojs-vtt-thumbnails

Video.js plugin that displays thumbnails on progress bar hover, driven by external VTT files. Based on [this JW Player spec](https://support.jwplayer.com/customer/portal/articles/1407439-adding-preview-thumbnails). Note, this plugin currently only supports sprited thumbnails.
Video.js plugin that displays thumbnails on progress bar hover, driven by external VTT files. Based on the spec at: https://support.jwplayer.com/customer/portal/articles/1407439-adding-preview-thumbnails

Note: Plugin hides the default skin's mouse display timestamp on hover.

Expand All @@ -15,9 +15,6 @@ Note: Plugin hides the default skin's mouse display timestamp on hover.
- [`<script>` Tag](#script-tag)
- [Browserify/CommonJS](#browserifycommonjs)
- [RequireJS/AMD](#requirejsamd)
- [Options](#options)
- [Example](#example)
- [Available Options](#available-options)
- [License](#license)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->
Expand Down Expand Up @@ -75,23 +72,6 @@ require(['video.js', 'videojs-vtt-thumbnails'], function(videojs) {
});
```

## Options

Options are passed in the same object as the source location.

### Example

```js
var player = videojs('my-video');
player.vttThumbnails({
src: 'example/thumbs.vtt',
showTimestamp: true
});
```
### Available Options

- `showTimestamp` (Boolean, Default: false) - Disables the timestamp that is shown on hover.

## License

MIT. Copyright (c) Chris Boustead &lt;[email protected]&gt;
Expand Down
Loading