);
    });
</script>


<button id="dvrip">DVRIP</button>
<div class="module">
    <table id="dvrip-table"></table>
</div>
<script>
    document.getElementById('dvrip').addEventListener('click', async ev => {
        ev.target.nextElementSibling.style.display = 'block';
        await getSources('dvrip-table', 'api/dvrip');
    });
</script>


<button id="devices">FFmpeg Devices (USB)</button>
<div class="module">
    <table id="devices-table"></table>
</div>
<script>
    document.getElementById('devices').ad