Spectrum Audio Visualiser

Spectrum Audio Visualiser Demo

This example demonstrates confguring for a spectrum display.

    <div class="flex w-full h-auto my-auto">
          <div id="spectrum" class=""></div>
  </div>
  <script type="text/javascript">
  	var player = jwplayer("spectrum").setup({
    "aspectratio": "16:9",
    "playbackRateControls": true,
    "plugins": {
        "../../js/audiovisualiser-8.1.0.js": {
            "type": "spectrum"
        }
    },
    "sources": [
        {
            "file": "https://videos.electroteque.org/bitrate/elephants_dream_2000k.webm",
            "type": "webm"
        },
        {
            "file": "https://videos.electroteque.org/bitrate/elephants_dream_2000k.mp4",
            "type": "mp4"
        }
    ],
    "width": "100%"
});
  </script>