Uploading Videos via JS

You can use our JavaScript SDK to directly upload videos that are either obtained from a file input form field or from a custom generated BLOB: [html language="javascript"] ZiggeoApi.v2app().videos.createByUpload({ video_data: input_type_file_or_blob, progress: function (prog, total) { // progress callback }, context: context_for_progress, // optional data: { tags: [...], ... } }).success(function () { // success callback }, this).error(function (error) { // error callback }, this); [/html]
PREV NEXT