LSAudio EmbedPlayer Docs

An embeddable audio player designed for integration into 3rd-party websites. It provides automated, serialized playback of HLS audio streams from LiveSport with live stream auto-recovery capabilities.

Usage Guide

To embed the LiveSport audio player into your own website, choose one of the following methods:

Option 1: Custom HTML Element

Include the compiled JavaScript bundle into your site's <head> or bottom of the <body>.

<script type="module" src="https://embed.lsaudio.eu/embed.js"></script>

Place the custom element tag exactly where you want the player to appear on the page.

<!-- Simply drop this anywhere in your HTML -->
<LSAudio id="match-en-yO7pdk9aKj"></LSAudio>

Note: You can place multiple <LSAudio> players dynamically on the same page.

Option 2: Full iframe

If you cannot inject external script tags due to platform limitations, you can use the static iframe fallback. Point it directly to player.html and pass the stream ID as a URL query parameter (?id=...).

<iframe src="https://embed.lsaudio.eu/player.html?id=match-en-yO7pdk9aKj" style="width: 100%; height: 80px; border: none; overflow: hidden;" scrolling="no" allow="autoplay"></iframe>

Live Interactive Demo

Below is a live instance of the player embedded seamlessly on this exact documentation page.