Upload Video to Youtube
upload_video(
file,
snippet = NULL,
status = list(privacyStatus = "public"),
query = NULL,
open_url = FALSE,
...
)
A list of the response object from the POST
, content,
and the URL of the uploaded
Filename of the video locally
Additional fields for the video, including `description` and `title`. See https://developers.google.com/youtube/v3/docs/videos#resource for other fields. Coerced to a JSON object
Additional fields to be put into the status
input.
options for `status` are `license` (which should hold:
`creativeCommon`, or `youtube`), `privacyStatus`, `publicStatsViewable`,
`publishAt`.
Fields for `query` in `POST`
Should the video be opened using browseURL
Additional arguments to send to tuber_POST
and
therefore POST
snippet = list(
title = "Test Video",
description = "This is just a random test.",
tags = c("r language", "r programming", "data analysis")
)
status = list(privacyStatus = "private")
Run the code above in your browser using DataLab