• webyars-3.8.0.1 3907434d22

    Pre-release

    rparree released this 2019-10-19 10:17:23 +00:00 | 86 commits to master since this release

    New files:

    • webyarns/lib/webyarn-plugin.js
    • webyarns/lib/webyarn-sound.js

    New features

    • Added webyarns/lib/webyarn-plugin.ts, to enable: add it to the list of Reveal depedencies:
      dependencies: [
          { src: 'webyarns/lib/webyarn-plugin.js' },
          …
      ]
      
      
      The plugin adds:
      • support for a[data-link-indexh] (replaces data-link from reveal-intralinks.js)
      • support for timed-sections (replaces timed-section.js)
    • Created new implementation for sounds on sections (replaces audio-wip). The sounds provided are now provided by json no longer using audio tags (see sample below). to use replace the audio-wip.js/audio-wip2.js with:
      <script id="sounds" type="application/json">
      {
          "nakedcall": [
              "webyarns/sounds/nakedcall.mp3",
              "webyarns/sounds/nakedcall.ogg"
          ],
          "manstitutes": [
              "webyarns/sounds/manstitutes.mp3",
              "webyarns/sounds/manstitutes.ogg"
          ],
          …
         }
      </script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/howler/2.1.2/howler.core.min.js"></script>
      <script src="webyarns/lib/webyarn-sound.js"></script>
      
      Make sure to add this after loading Reveal.js .
    Downloads