Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

!URGENT - Youtube shorts --- I'm trying to upload my video as a short but it classifies it as regular video #484

Open
dhawalc opened this issue Jun 26, 2023 · 3 comments

Comments

@dhawalc
Copy link

dhawalc commented Jun 26, 2023

request = youtube.videos().insert(
part="snippet,status,contentDetails",
body={
"snippet": {
"categoryId": "27",
"description": description,
"title": title,
"tags": tags,
"shorts": True
},
"status": {
"privacyStatus": "public"
},
"contentDetails": {
"videoType": "short"
}
},
media_body=MediaFileUpload(video_file_path)
)
response = request.execute()

Is there something different I should be doing?

Video itself is portrait mode 9:16 in aspect ratio, has #shorts in title and is less than 40 seconds, do i need to change any of this? Do i need to add something to the code?

@Hexvortex
Copy link

Make sure your video is of length 60s or less to make youtube detect it as Shorts.Cheers

@dhawalc
Copy link
Author

dhawalc commented Jul 3, 2023 via email

@BrandonDeoram
Copy link

I'm having the same problem any fixed ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants