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

Background video still resets in 5.1.0 on fragment #3633

Open
Sieboldianus opened this issue Jun 5, 2024 · 2 comments
Open

Background video still resets in 5.1.0 on fragment #3633

Sieboldianus opened this issue Jun 5, 2024 · 2 comments

Comments

@Sieboldianus
Copy link

I updated to revealjs 5.1.0 in hope the video reset problem would be gone (#2882), but this is not the case.

See the example slide here.

This is the code for the slide (partly markdown, with jekyll reveal-js):

<div style="position:absolute; margin-left: auto; margin-right: auto; top: 50px; left: 0; bottom: 0;" class="fragment">      
<p style="text-align:left;color:#00FEFF">
4 Facets:<br>
Location (Where?)<br>  
User origin (Who?)<br>
Tags (What?)<br>
Time (When?)
</p> 
</div>

<!-- .slide: data-background-video="https://wwwpub.zih.tu-dresden.de/~s7398234/slide_assets/2017_FlickrEuropeAni.webm" data-background-video-loop data-background-video-muted -->

That said.. thank you so much for RevealJS; overall it is a blessing to have!

@hakimel
Copy link
Owner

hakimel commented Jun 5, 2024

When I test this in the latest reveal.js version locally, background video isn't restarting when fragments are shown. This is the content I used to test:

<div class="slides">
  <section>Slide 1</section>
  <section data-background-video="https://wwwpub.zih.tu-dresden.de/~s7398234/slide_assets/2017_FlickrEuropeAni.webm" data-background-video-loop data-background-video-mute>
    Slide 2
    <div class="fragment">Fragment 1</div>
    <div class="fragment">Fragment 2</div>
  </section>
</div>

I do see the video restarting in your live demo. Not sure what the difference is.

@Sieboldianus
Copy link
Author

Thank you for testing @hakimel , I will investigate this further and update here!

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

2 participants