Skip to content

Clickable Videos #2177

Open
Feature
@IllustratedMan-code

Description

@IllustratedMan-code

Is your feature request related to a problem? Please describe.
I use a lot of videos in my presentations (biology animations) and I often find that the audience wants me to pause at certain points in the video for additional explanation.

Describe the solution you'd like

I would like a component similar to SlidevVideo (SlidevVideo could just incorporate these features) that allows one to set various timestamps in the video associated with clicks.

For example, click 1 could play the first 5 seconds, then click 2 could play the next 10 seconds, then click 3 plays till the end of the video. The syntax could look something like this:

<SlidevVideo 
    :click-1=5
    :click-2=15 <!-- or deltatime -->
    :click-3=end
>
<source src=myvideo.webm />
</SlidevVideo>

Describe alternatives you've considered

I suppose I could just render out all the different transitions that I want and make a slide for each of them, but that is definitely clunky and makes it so I need to have the transitions pre-meditated to a larger degree. Additionally, my current work around is to just pause the video manually with a click, though that means I can't have transitions predefined before the presentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions