stream-api/frontend/index.html
2021-05-14 11:46:48 +02:00

26 lines
1.8 KiB
HTML

<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="{{ data["og:title"] }}" />
<meta property="og:description" content="{{ data["og:description"] }}" />
<meta property="og:type" content="video.other" />
<meta property="og:image" content="{{ data["og:image"] }}" />
<meta property="og:image:height" content="{{ data["og:image:height"] }}" />
<meta property="og:image:width" content="{{ data["og:image:width"] }}" />
<meta property="og:url" content="{% raw data["render_url"] %}" />
<meta property="og:video:url" content="{% raw data["render_url"] %}" />
<meta property="og:video:secure_url" content="{% raw data["stream_url"] %}" />
<meta property="og:video:height" content="{{ data["og:video:height"] }}" />
<meta property="og:video:width" content="{{ data["og:video:width"] }}" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/video.js/{{ data["videojs_version"] }}/video-js.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@silvermine/videojs-chromecast@{{ data["chromecast_version"] }}/dist/silvermine-videojs-chromecast.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/{{ data["videojs_version"] }}/video.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@silvermine/videojs-chromecast@{{ data["chromecast_version"] }}/dist/silvermine-videojs-chromecast.min.js"></script>
<script src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"></script>
<script src="{{ data["script"] }}"></script>
<link rel="stylesheet" href="{{ data["custom_style"] }}">
</head>
<body>
</body>
</html>