Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

webyars-3.8.0.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@rparree rparree released this 19 Oct 11:59
· 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 .