This operation renders a video and uploads the video to Youtube
var parameters = {
ProjectId: 'STRING_VALUE', // required
Movie: 'STRING_VALUE', // required
Params: {key: value, ...}, // required
Format: 'STRING_VALUE', // required
Title: 'STRING_VALUE', // required
Description: 'STRING_VALUE', // required
Category: 'STRING_VALUE', // required
Async: true || false,
OAuthAccessToken: 'STRING_VALUE',
AuthSecret: 'STRING_VALUE',
Status: 'STRING_VALUE',
Tags: ['Tag1', 'Tag2'],
PlaylistID: 'STRING_VALUE',
NotifySubscribers: true || false
}
render.renderToYoutube(parameters, function(err, data) {
if(err) {
console.log(err); // an error occurred
} else {
console.log(data); // successful response
}
});
| ProjectId | string | A Project ID |
| Movie | string | Movie to render |
| Params | map | Render Parameters |
| Format | string | Format to Render |
| Title | string | Video title |
| Description | string | Video description |
| Category | string | Numerical ID for category. See List of Youtube Categories |
| Async | boolean | Perform Async |
| OAuthAccessToken | string | Youtube OAuth 2.0 access token |
| AuthSecret | string | ImpossibleFX auth secret |
| Status | string | One of "private", "public", "unlisted" |
| Tags | List |
Tags, e.g. ["tag1", "tag2"] |
| PlaylistID | string | Add video to playlist (playlistID, not name!) |
| NotifySubscribers | boolean | Notify Subscribers (default: false) |
err
(Error) - the error object returned from the request. Set to null if the request is successful.
data
(Object) — the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:
Token (string)Upload (string)
Terms of Use | © 2017, Impossible Software, or its affiliates.