futo-org / grayjay-android

Read-only mirror of Grayjay repo for issue tracking
https://gitlab.futo.org/videostreaming/grayjay
Other
724 stars 44 forks source link

Chapters #14

Open McIrco95 opened 12 months ago

McIrco95 commented 12 months ago

Can you add timestamps/chapter

Kelvin-FUTO commented 11 months ago

Plugin support for video chapters was introduced in version 190, no documentation exists yet. It is just implemented for standard Youtube chapters. It has no fancy UI yet, but does support all functional parts offering 3 chapter types (normal, manual skip, auto skip). Better UI is to follow.

Bluscream commented 11 months ago

Plugin support for video chapters was introduced in version 190, no documentation exists yet. It is just implemented for standard Youtube chapters. It has no fancy UI yet, but does support all functional parts offering 3 chapter types (normal, manual skip, auto skip). Better UI is to follow.

Can you explain how it works? Then i can finally finish my integration it in the Youtube plugin

Kelvin-FUTO commented 11 months ago

@Bluscream You can check the Youtube plugin for an example (getContentChapters). if this is related to SponsorBlock, check #17

Bluscream commented 11 months ago

@Bluscream You can check the Youtube plugin for an example (getContentChapters). if this is related to SponsorBlock, check #17

Thanks a lot, didn't know the base app is gonna have simple chapters to skip for example

Kelvin-FUTO commented 10 months ago

Re-opening as Chapter visualization on timebar is still todo

paaspaas00 commented 7 months ago

Done some research, for YT chapters info are in var ytInitialData image of https://www.youtube.com/watch?v=<ID> (or of https://www.youtube.com/watch?v=<ID>&list=<PL_ID>&index=<index> if the video is played as part of a playlist)

Hope it helps!

Kelvin-FUTO commented 7 months ago

Done some research, for YT chapters info are in var ytInitialData image of https://www.youtube.com/watch?v=<ID> (or of https://www.youtube.com/watch?v=<ID>&list=<PL_ID>&index=<index> if the video is played as part of a playlist)

Hope it helps!

We already parse all that data. You can already see this data when you scrub a video. When I talk about visualization, I mean Android UI to visualize it better. (Showing seperators in the timeline for example)