Skip to content
Open
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To activate the plugin, add it to your videojs settings object:
```html
<script>
// initialize video.js
var video = videojs('video',{plugins:{thumbnails:{}}});
var video = videojs('video',{plugins:{vttThumbnails:{}}});
</script>
```

Expand Down Expand Up @@ -51,14 +51,14 @@ If your thumbnails do not include specified width and height in the VTT file (vi
```html
<script>
// initialize video.js
var video = videojs('video',{plugins:{thumbnails:{width:120,height:90}}});
var video = videojs('video',{plugins:{vttThumbnails:{width:120,height:90}}});
</script>
```

You can add an optional basePath if you want to use images hosted on another domain
```html
<script>
// initialize video.js
var video = videojs('video',{plugins:{thumbnails:{width:120,height:90, basePath : "//external.url/basepath/"}}});
var video = videojs('video',{plugins:{vttThumbnails:{width:120,height:90, basePath : "//external.url/basepath/"}}});
</script>
```