https://github.com/websemantics/vimeo-upload
Upload videos to your Vimeo account and update their metadata directly from a browser or a Node.js app
https://github.com/websemantics/vimeo-upload
Last synced: 10 months ago
JSON representation
Upload videos to your Vimeo account and update their metadata directly from a browser or a Node.js app
- Host: GitHub
- URL: https://github.com/websemantics/vimeo-upload
- Owner: websemantics
- License: apache-2.0
- Created: 2014-12-24T23:46:39.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2021-05-25T13:21:13.000Z (over 4 years ago)
- Last Synced: 2025-03-30T17:09:23.695Z (11 months ago)
- Language: JavaScript
- Homepage: http://websemantics.github.io/vimeo-upload/
- Size: 69.3 KB
- Stars: 114
- Watchers: 13
- Forks: 79
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
```
╭───╮╭─╮
│ ││ │╭─╮╭──┬──┬─╮╭───╮╭───╮
│ ││ │├─┤│ ╭╮ ╭╮ ││ ─ ││╭╮ │ ╭────────┬─────────────────────╮
╰╮ ╰╯╭╯│ ││ ││ ││ ││ ─┤│╰╯ │ | UPLOAD │ ▒▒▒▒▒▒▒▒▒▒▒░░░░ %75 |
╰────╯ ╰─╯╰─╯╰─╯╰─╯╰───╯╰───╯ ╰────────┴─────────────────────╯
```
[](https://travis-ci.org/websemantics/vimeo-upload)
[](http://standardjs.com/)
[](https://badge.fury.io/js/vimeo-upload)
[](https://badge.fury.io/bo/vimeo-upload)
[](https://github.com/websemantics/vimeo-upload/network) [](https://github.com/websemantics/vimeo-upload/stargazers)
[](http://isitmaintained.com/project/websemantics/vimeo-upload "Percentage of issues still open")
> Upload videos to your Vimeo account and update their metadata directly from a browser or a Node.js app.
Try it [LIVE](http://websemantics.github.io/vimeo-upload/)
## Install
Using Bower
```
bower install vimeo-upload
```
Or npm
```
npm install vimeo-upload
```
## Usage
Include `vimeo-upload.js` in your index.html.
```
```
Create a new `VimeoUpload` initialized with a Blob or File and Vimeo Access Token then call `upload()` to start the upload process.
```javascript
var uploader = new VimeoUpload({
file: file,
token: accessToken,
});
uploader.upload();
```
Your access token need to be authorized by Vimeo. Create new Vimeo access token [here](https://developer.vimeo.com/apps).
Check `index.html` for details and additional parameters you can include when initializing `VimeoUpload`.
## Credits
Sample code for uploading files directly with XHR/CORS: [cors-upload-sample](https://github.com/googledrive/cors-upload-sample)