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