Shortcode for Chapters
Looking through the documentation, I see that we can use a dynamic URL with the shortcode: https://docs.fluentplayer.com/shortcode
This is great for my use case; I'd prefer to have a custom post type with a custom field to specify my video URL without having to manually setup an individual media every single time. Being able to post the shortcode in a page template that defaults to a "coming soon" video unless that field is filled in is great.
However, I'd also like to be able to specify chapters in my videos, so it'd be great if I could either reference a JSON file with chapter marks or include them as a internal shortcode in the normal fluentplayer shortcode.
The JSON option would be good because then it could be implemented in the front end to automate adding chapters without having to manually enter them when using the block and I can easily add in an automated way to generate those JSONs as part of my editing script.
The shortcode option is also viable (and is how presto player handles chapters.) For example, something like this:
[fluentplayer id="129" source_url="https://example.com/link.mp4"]
[fluentplayer_chapter time="0:00" chapter="Introduction"]
[fluentplayer_chapter time="2:16" chapter="The First Topic"]
[fluentplayer_chapter time="11:05" chapter="Another Topic"]
[/fluentplayer]