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

How to add chapters to videos? #173

Open
MelissaKR opened this issue May 25, 2021 · 2 comments
Open

How to add chapters to videos? #173

MelissaKR opened this issue May 25, 2021 · 2 comments

Comments

@MelissaKR
Copy link

Hi,

I'm trying to add chapters to an uploaded video using the Python SDK. I don't get any errors but the chapters don't show up either. This is how I'm doing it:

client.upload_texttrack(uri, 'chapters', 'en-US', 'chapters_file.vtt')

and the vtt file looks something like this:

WEBVTT

00:20.000 --> 00:21.000
First Chapter

00:40.000 --> 00:41.000
Second Chapter

I'm wondering if I'm not doing it right or the functionality is not supported.

@gringopachingo
Copy link

gringopachingo commented Aug 26, 2021

According to the docs https://developer.vimeo.com/api/upload/texttracks, it is not supported.

NOTE: You can't currently add chapters to a video by uploading them through the API, but you can create them manually through our onsite tool. For more information, see our Help Center.

@amrutadotorg
Copy link

amrutadotorg commented Nov 11, 2022

Hi it looks like there is an API for that https://developer.vimeo.com/api/reference/videos#create_chapter
example:
v.post('/videos/12345/chapters', data={"timecode": 0, "title":"test"})

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