Getting Started
Lura Player is a collection of player SDKs that enables HLS and DASH video playback in applications. It has a user-friendly interface, developer-friendly SDK and includes industry standard capabilities, making it a comprehensive solution for video streaming and advertising. The SDK's are written in strictly typed programming languages, which provides code stability, making it easier to integrate into projects with type safety. Lura Player offers advanced advertisement support and a range of features for a seamless viewing experience, including support for multiple audio and subtitle tracks and advanced playback controls.
Integrating Lura Player to your existing application is as easy as creating a text document. Just copy the following code into
an index.html
file and start exploring.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Lura Player Test</title>
</head>
<body>
<div id="player" style="width: 640px; height: 360px"></div>
<script src="https://w3.mp.lura.live/lura-player/web/latest/lura-player.js"></script>
<script>
const config = {
lura: {
appKey:
"PqSpQb9pFu1A_v4qrMnRNwcXJGoFMO0B02BwGBQ4Zwa0_uMdXPXrqjnlSbJbkv8duDNk2-c3JbOXq2auBscWP1GyvlWlgFcIzaO6QFG74nY",
assetId: "5179686",
},
};
const player = new lura.Player(document.getElementById("player"));
player.setConfig(config);
</script>
</body>
</html>