This repository has been archived on 2021-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
eltelive/tmpl/index.html

81 lines
2.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="robots" content="noindex,nofollow" />
<title>ELTE Live Streaming System</title>
<link rel="stylesheet" type="text/css" href="landingpage.css" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link href="video-js.min.css" rel="stylesheet">
<script src="video.min.js"></script>
</head>
<body>
<div class="wrapper">
<h1>ELTE Live Streaming</h1>
<div class="box">
<noscript>
<div style="text-align: left;">
<h4>Instructions</h4>
<p>
If you have a lecture with a key: '<em>mylecture</em>' which is
<b>being streamed</b>, you can join the live stream by
</p>
<ul>
<li>
Using any player which can play RTMP streams like
<a href="https://www.videolan.org/vlc/">VLC</a>. Use this URL:
<b>rtmp://$DOMAINNAME/live/mylecture</b><br>
</li>
</ul>
<p>
If you are <b>past</b> the lecture called <em>mylecture</em>, you
can download MP4 videos from
<b>https://$DOMAINNAME/videos/mylecture</b>
</p>
<p>
The form below will * <b>NOT</b> * work as you have disabled
javascript in your browser
</p>
<hr />
</div>
</noscript>
<input type="text" id="streamkey" placeholder="Insert your stream key here and press one of the buttons below"
required />
<!--- <button onclick="registerStreamKey(2);">
Listen Live (experimental)
</button> --->
<button onclick="registerStreamKey(3);">
- Listen in Browser -
</button>
<button onclick="registerStreamKey(1);">
- Listen in App -
</button>
<button onclick="registerStreamKey(4);">
- Recordings -
</button>
<br />
<button onclick="registerStreamKey(6);">
<small>Listen LQ in Browser</small>
</button>
<button onclick="registerStreamKey(5);">
<small>Listen LQ in App</small>
</button>
<video-js id="stream-player" width=530 height=300 class="vjs-default-skin" controls>
</video-js>
<hr />
<img src="logosmall.jpeg" alt="Logo Small" width="40" height="40"/>
<br />
<a href="https://$DOMAINNAME/publish">Lecturer Login</a> ||
<a href="legal.html">Legal Disclaimer</a> ||
<a href="https://gitea.com/gerazo/eltelive/">Code Repository</a>
</div>
</div>
<script src="landingpage.js"></script>
</body>
</html>