websemantics / vimeo-upload

Upload videos to your Vimeo account and update their metadata directly from a browser or a Node.js app
http://websemantics.github.io/vimeo-upload/
Apache License 2.0
114 stars 80 forks source link

New feature to capture uploaded video metadata #5

Closed lumberjackchester closed 8 years ago

lumberjackchester commented 8 years ago

I found it quite useful to have a reference to the response of the onUpdateVideoData_, since the response of this request returns the updated metadata. For example, if a user wishes to change the privacy setting of the video to 'unlisted', the URI of the video changes.

This feature adds the following:

MediaUploader Properties: metadata: []

MediaUploader Methods: onGetMetadata_

websemantics commented 8 years ago

Hi @lumberjackchester

Thank you for your contribution,..

Just noticed that you intended to rename onComplete to onUpdateVideoData_ but that was only done in the comments,..

Also, would be great to add a demonstration of the new feature with the working app (maybe display the info, other?) just so that other people are aware of it ..

Adnan

lumberjackchester commented 8 years ago

Hi @websemantics,

I have added an example usage of the video metadata to index.html.

Craig

websemantics commented 8 years ago

Hi @lumberjackchester .. just merged .. many thanks for the contribution,