Owncast Live Badge
CORS-Enabled (API Detection)
These instances have CORS headers — the badge uses /api/status for definitive detection.
No CORS (Thumbnail Fallback)
These instances lack CORS headers — the badge falls back to aspect ratio detection.
Hide When Offline
These badges are hidden when the stream is offline. If you see nothing, nobody's live.
Usage
<owncast-badge instance="https://stream.example.com"></owncast-badge>
<owncast-badge instance="https://stream.example.com"
name="My Stream"></owncast-badge>
<owncast-badge instance="https://stream.example.com"
variant="pill"></owncast-badge>
<owncast-badge instance="https://stream.example.com"
theme="light"></owncast-badge>
<owncast-badge
instance="https://stream.example.com"
name="My Stream"
variant="pill"
theme="light"
hide-offline
></owncast-badge>
<script src="owncast-badge.js"></script>