decker-edu / decker

A markdown based tool for slide deck creation.
GNU General Public License v3.0
55 stars 13 forks source link

Background videos don't play on Safari #6

Closed monofon closed 1 year ago

monofon commented 1 year ago

At all. Look at test/decks/background-video-deck.md.

HTML looks right, though. Something with Reveal.js?

salbeira commented 1 year ago

Works for me on both Chrome and Firefox. First two examples show a video of a rotating scene once. The final one repeats indefinetly.

Branch: develop OS: WIndows

monofon commented 1 year ago

Yes, seems to be a Safari problem (@mbotsch any comments 😄).

Even this does not work:

<html>
  <head>
    <script type="module">
      import Reveal from "./../../support/vendor/reveal/dist/reveal.esm.js";
      let deck = new Reveal({});
      deck.initialize();
    </script>
  </head>

  <body>
    <div class="reveal">
      <div class="slides">
        <section
          class="slide level1"
          data-background-video="movie.mp4"
        ></section>
      </div>
    </div>
  </body>
</html>
mbotsch commented 1 year ago

As much as I dislike Safari: It works on my system.

Branch develop MacOS 12.6 Safari 16.0

monofon commented 1 year ago

It absolutely refuses to work here. Latest Safari, all plugins disabled, after restart of the system:

https://user-images.githubusercontent.com/825193/192129939-e9e18c99-e923-4cf8-9644-e268064345c7.mov

monofon commented 1 year ago

Seems to be my Safari installation. Works with Safari Technology Preview. Strange.