30 lines
849 B
HTML
30 lines
849 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<title>Simple OvenPlayer Page</title>
|
|
<!-- Include the OvenPlayer library here. Replace 'path/to/ovenplayer.js' with the actual path. -->
|
|
<script src="https://static.fenpa.ws/js/OvenPlayer-v0.10.36/ovenplayer.js"></script>
|
|
<script src="https://static.fenpa.ws/css/tailwind-3.4.3.css"></script>
|
|
</head>
|
|
|
|
<body class="absolute top-0 left-0 w-full h-full max-w-full max-h-full">
|
|
<div id="player_el_id"></div>
|
|
|
|
<script>
|
|
const player = OvenPlayer.create("player_el_id", {
|
|
"autoStart": true,
|
|
"autoFallback": true,
|
|
"mute": false,
|
|
"sources": [
|
|
{
|
|
"type": "webrtc",
|
|
"file": "wss://webrtc.stream.fenpa.ws/app/stream"
|
|
},
|
|
]
|
|
});
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|