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

Videos restart with every fragment #3704

Open
gregreen opened this issue Oct 30, 2024 · 0 comments
Open

Videos restart with every fragment #3704

gregreen opened this issue Oct 30, 2024 · 0 comments

Comments

@gregreen
Copy link

In a slide with a video and fragments, the video restarts every time a new fragment is shown. Here's a minimal example:

<section>
  <video style="width:50%;" data-autoplay loop data-src="video.mp4"></video>
  <p class="fragment">fragment 1</p>
  <p class="fragment">fragment 2</p>
</section>

Interestingly, the video does not restart when you go backwards in the presentation and hide fragments.

It would be nice to have an option to prevent the video from restarting every time a new fragment is shown. There is a similar issue with background videos.

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

1 participant