google-api-python-client icon indicating copy to clipboard operation
google-api-python-client copied to clipboard

[Support] Is it possible to upload a short youtube video?

Open zull-developer opened this issue 2 years ago • 3 comments

I'm trying to upload a short video from youtube. I added the hashtag #shorts to the title and description of the video, but both didn't help.

Is there any feature to upload shorts?

zull-developer avatar Oct 05 '22 16:10 zull-developer

For a video to be a short it has to have the proper aspect ratio of 1080 x 1920 as well as have a #shorts hashtag

What size did you upload?

LindaLawton avatar Oct 25 '22 12:10 LindaLawton

Just wanted to check on this issue, is there any specific changes had to be made to publish a short media?

Leykwan132 avatar Sep 26 '23 21:09 Leykwan132

# Set TITLE to the title of the video.
TITLE = "My YouTube Short #Shorts"

# Set DESCRIPTION to the description of the video.
DESCRIPTION = "This is my YouTube Short."

# Create a YouTube object.
youtube = build("youtube", "v3", developerKey=DEVELOPER_KEY)

# Set the video snippet.
snippet = {
    "title": TITLE,
    "description": DESCRIPTION,
    "tags": ["#Shorts"],
}

will this hashtag work? Or which changes should be made?

Leykwan132 avatar Sep 26 '23 22:09 Leykwan132