api-samples
api-samples copied to clipboard
!URGENT - Youtube shorts --- I'm trying to upload my video as a short but it classifies it as regular video
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?
Make sure your video is of length 60s or less to make youtube detect it as Shorts.Cheers
Most of them are 30 seconds are less, max 48 seconds, not 1 has been detected as shorts and actually getting uploaded as normal videos
Thanks for the reply
On Sun, Jul 2, 2023, 6:31 PM Hexvortex @.***> wrote:
Make sure your video is of length 60s or less to make youtube detect it as Shorts.Cheers
— Reply to this email directly, view it on GitHub https://github.com/youtube/api-samples/issues/484#issuecomment-1617091882, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSHUWGYPPLT4USEDEPVSYLXOIOHZANCNFSM6AAAAAAZTU6GUY . You are receiving this because you authored the thread.Message ID: @.***>
I'm having the same problem any fixed ?