-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add attending info on front page, prepare livestream page
- Loading branch information
Showing
6 changed files
with
116 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
--- | ||
layout: page-with-toc | ||
title: Live Stream | ||
titlecontent: "Watch the SotM 2024 live stream. The following streams are available:" | ||
headings: "auditorium-1,auditorium-2" | ||
--- | ||
|
||
<p>The main tracks of the State of the Map with most talks of the general and academic <a href="../programme">programme</a> can be watched live here. Note that if you have a <em>“Venueless”</em> conference <a href="/tickets/">ticket</a>, you can watch all talks, ask questions and interact with other attendees on the conference platform at <a href="https://sotm2024.venueless.events/">https://sotm2024.venueless.events/</a>.</p> | ||
|
||
<h2 id="auditorium-1">Maasai Mara</h2> | ||
|
||
<video id="video-auditorium-1" style="width:100%" controls data-stream-url="https://cache.xemo.ch/live/sotm-2024-maasai-mara.m3u8"></video> | ||
|
||
<p>Audio-only version: <audio id="audio-auditorium-1" controls src="https://cache.xemo.ch/live/sotm-2024-maasai-mara.mp3"></audio></p> | ||
|
||
<h2 id="auditorium-2">Tsavo Hall</h2> | ||
|
||
<video id="video-auditorium-2" style="width:100%" controls data-stream-url="https://cache.xemo.ch/live/sotm-2024-tsavo-hall.m3u8"></video> | ||
|
||
<p>Audio-only version: <audio id="audio-auditorium-2" controls src="https://cache.xemo.ch/live/sotm-2024-tsavo-hall.mp3"></audio></p> | ||
|
||
|
||
<script src="./hls.js"></script> | ||
<script> | ||
(function () { | ||
const rooms = ['auditorium-A', 'auditorium-B', 'loop-cinema']; | ||
rooms.forEach(function(room) { | ||
const video = document.getElementById('video-'+room); | ||
const videoSrc = video.dataset.streamUrl; | ||
if (Hls.isSupported()) { | ||
const hls = new Hls({ | ||
debug: false | ||
}); | ||
hls.loadSource(videoSrc); | ||
hls.attachMedia(video); | ||
hls.on(Hls.Events.ERROR, function (event, data) { | ||
if (data.fatal) { | ||
switch (data.type) { | ||
case Hls.ErrorTypes.NETWORK_ERROR: | ||
console.log('Fatal network error encountered, try to recover'); | ||
hls.startLoad(); | ||
break; | ||
case Hls.ErrorTypes.MEDIA_ERROR: | ||
console.log('fatal media error encountered, try to recover'); | ||
hls.recoverMediaError(); | ||
break; | ||
default: | ||
console.log('fatal, unrecoverable error encountered, freeing resources'); | ||
hls.destroy(); | ||
break; | ||
} | ||
} | ||
}); | ||
} | ||
else if (video.canPlayType('application/vnd.apple.mpegurl')) { | ||
video.src = videoSrc; | ||
} | ||
}); | ||
})(); | ||
</script> | ||
|
||
<h2>Alternative watching methods</h2> | ||
<p> | ||
If you prefer watching the live stream using a dedicated player instead of the embedded one on this page, you can use the following URLs: | ||
</p> | ||
|
||
<ul> | ||
<li>Maasai Mara | ||
<ul> | ||
<li>Video: <a href="https://cache.xemo.ch/live/sotm-2024-maasai-mara.m3u8">https://cache.xemo.ch/live/sotm-2024-maasai-mara.m3u8</a></li> | ||
<li>Audio only: <a href="https://cache.xemo.ch/live/sotm-2024-maasai-mara.mp3">https://cache.xemo.ch/live/sotm-2024-maasai-mara.mp3 </a></li> | ||
</ul> | ||
</li> | ||
<li>Tsavo Hall | ||
<ul> | ||
<li>Video: <a href="https://cache.xemo.ch/live/sotm-2024-tsavo-hall.m3u8">https://cache.xemo.ch/live/sotm-2024-tsavo-hall.m3u8</a></li> | ||
<li>Audio only: <a href="https://cache.xemo.ch/live/sotm-2024-tsavo-hall.mp3">https://cache.xemo.ch/live/sotm-2024-tsavo-hall.mp3</a></li> | ||
</ul> | ||
</li> | ||
</ul> |