Hoziontal Audio Visualiser

Horizontal Audio Visualiser Demo

This example demonstrates confguring for the audio meter shown horizontally.

    <div class="flex w-full h-auto my-auto">
      <video class="video-js vjs-default-skin vjs-fluid " crossorigin="anonymous" controls="" id="horizontal"></video>
  </div>
  <script type="text/javascript">
  	var player = videojs("horizontal", {
    "plugins": {
        "audiovisualiser": {
            "type": "horizontal"
        }
    },
    "sources": [
        {
            "src": "https://videos.electroteque.org/bitrate/elephants_dream_2000k.webm",
            "type": "video/webm"
        },
        {
            "src": "https://videos.electroteque.org/bitrate/elephants_dream_2000k.mp4",
            "type": "video/mp4"
        },
        {
            "src": "https://videos.electroteque.org/bitrate/elephants_dream_2000k.ogv",
            "type": "video/ogg"
        }
    ]
});
  </script>