This example demonstrates confguring for horizontal VU Meter display.
<div class="flex w-full h-auto my-auto">
<div id="vu-horizontal-meter" class=""></div>
</div>
<script type="text/javascript">
var player = jwplayer("vu-horizontal-meter").setup({
"aspectratio": "16:9",
"playbackRateControls": true,
"plugins": {
"../../js/audiovisualiser-8.1.0.js": {
"type": "vu-horizontal"
}
},
"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>