ideos.length > 0) {
            if (currentVideos[0].paused == true) currentVideos[0].play();
            else currentVideos[0].pause();
          } else {
            Reveal.next();
          }
        }
      );
      {% if one_file %}
      // Fix found by @t-fritsch and @Rapsssito on GitHub
      // see: https://github.com/hakimel/reveal.js/discussions/3362#discussioncomment-11733074.
      function setVideoBase64(video) {
        const sources = video.querySelectorAll('source');
        // Update the s