mediacms-io / mediacms

MediaCMS is a modern, fully featured open source video and media CMS, written in Python/Django and React, featuring a REST API.
https://mediacms.io
GNU Affero General Public License v3.0
2.81k stars 524 forks source link

Timestamps in Description #757

Open noboevbo opened 1 year ago

noboevbo commented 1 year ago

Describe the feature you'd like I would like to add chapters to my videos. To do this, I would like to simply add a list of timestamps in the description that should be clickable (similar to comments), e.g.

00:08 - Intro 00:30 - About XYZ

However, the timestamps in the description don't seem to be recognized. Would it be possible to offer a similar function here as for timestamps in the comments?

Describe alternatives you've considered An alternative would be to create a comment for each video, but this seems to be a little unintuitive for the endusers.

Additional context

KyleMaas commented 1 year ago

I can chime in with a bit of information on this. There seems to be some functionality in the comments module which was intended to allow comments to reference particular spots on the timeline. This used an adapted version of this:

https://github.com/spchuang/videojs-markers

...which is now a dormant project and no longer works properly with newer versions of VideoJS. I ran into that when trying to fix some of the npm audit issues when building the frontend. So I think for something like this, you'd need something similar but actively maintained.

mgogoulos commented 1 year ago

Timestamps were added on description, then there has been a bug that prevented them from working, and I disabled them. But there's a fix available that I'm planning to commit to fix that.

bigd1182 commented 4 months ago

@mgogoulos were you able to get the fix ready for commit? I tried updating the htmlInDescription but that did not work when I added tags.