Skip to content

Upload videos to your Vimeo account and update their metadata directly from a browser or a Node.js app

License

Notifications You must be signed in to change notification settings

vadimzhukck/vimeo-upload

 
 

Repository files navigation

 _    ___                    
| |  / (_)___ ___  ___  ____                                       
| | / / / __ `__ \/ _ \/ __ \   ┌───────────────────────────┐
| |/ / / / / / / /  __/ /_/ /   | ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  %75    |
|___/_/_/ /_/ /_/\___/\____/    └───────────────────────────┘
                     Upload                   

Build Status js-standard-style npm version Bower version GitHub forks GitHub stars 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

Install

Using Bower

Bower install vimeo-upload

Or npm

npm install vimeo-upload

Usage

Include vimeo-upload.js in your index.html.

<script src="bower_components/vimeo-upload/vimeo-upload.js"></script>

Create a new VimeoUpload initialized with a Blob or File and Vimeo Access Token then call upload() to start the upload process.

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.

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

About

Upload videos to your Vimeo account and update their metadata directly from a browser or a Node.js app

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 68.2%
  • HTML 31.8%