Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
BinaryUnit committed Jan 31, 2019
2 parents ce4672f + 58741b2 commit 162c7b2
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,10 @@ var player = videojs(document.querySelector('.video-js'), {
```

## Options
* beforeElement: name of the player.controlBar component for the button to be attached before
- default: fullscreenMenuToggle
* textControl: String for the controlText
- default: 'Download Video'
* name: name of the DownloadButton component
- default: 'downloadButton'
* beforeElement: name of the player.controlBar component for the button to be attached before (default: fullscreenMenuToggle)
* textControl: String for the controlText (default: 'Download Video')
* name: name of the DownloadButton component (default: 'downloadButton')
* downloadURL: oprional file to download (default: null)

## Style
By default the download icon is the play button icon rotated 90deg with some suggar on top, to include a custom icon please refer to videojs-vjsdownload.css file

0 comments on commit 162c7b2

Please sign in to comment.