Skip to main content

HUB_YOUTUBE_UPLOAD

Upload a video to YouTube via the Hub service. Supports video file, optional thumbnail, metadata fields (title, description, privacyStatus, categoryId), tags and additionalMetadata. Progress can be shown when cfg.updateProgress is true.

At a glance

  • Category YouTube
  • Version: 1.0.12
  • Applications: all
  • Scope: all
  • Default Service: HUB

Config Options

NameDescriptionDefaultRequiredResolvedConstraintsConditional Rules
titleVideo titleNonefalsetrueNoneNone
descriptionVideo descriptionNonefalsetrueNoneNone
privacyStatusPrivacy status: public, unlisted, or privateNonefalsefalseNoneNone
categoryIdYouTube category idNonefalsefalseNoneNone
tagsArray of tags to set on the uploaded videoNonefalsefalseNoneNone
additionalMetadataOptional object with additional metadata to attachNonefalsefalseNoneNone
updateProgressIf true, progress will be reported to ProgressBar during uploadNonefalsefalseNoneNone
accountAccount identifier for the Hub target (resolved)NonefalsetrueNoneNone

Inputs

TypeDescriptionDefaultRequiredResolved
videoPrimary video file or blob to uploadNonetruefalse
thumbnailOptional thumbnail file/blobNonefalsefalse

Outputs

TypeDescriptionOptional
objectResult object returned by the upload endpoint (video metadata)false

Examples

Upload a video to YouTube

- step: HUB_YOUTUBE_UPLOAD
account: "main"
title: "My video"
description: "An example upload"
privacyStatus: "unlisted"
tags:
- example
- demo

See Also

General Resources: