Revert "remove live pages for time being"
authorAndrew Engelbrecht <andrew@fsf.org>
Wed, 1 Mar 2023 19:46:37 +0000 (14:46 -0500)
committerAndrew Engelbrecht <andrew@fsf.org>
Wed, 1 Mar 2023 19:46:37 +0000 (14:46 -0500)
This reverts commit ab6c14a6e800bdbeaf5f7e9c861206ac8ec5e353.

Recreate /2023/live/ pages

2023/live/index.html [new file with mode: 0755]
2023/live/jupiter/index.html [new file with mode: 0755]
2023/live/menu.html [new file with mode: 0755]
2023/live/neptune [new symlink]
2023/live/saturn [new symlink]

diff --git a/2023/live/index.html b/2023/live/index.html
new file mode 100755 (executable)
index 0000000..7f53b25
--- /dev/null
@@ -0,0 +1,98 @@
+<!--#include virtual="/2023/includes/header.html"-->
+
+<title>LibrePlanet 2022 ~ Live</title>
+
+<style>
+.special-irc { background-color: #282a2b; padding: 5px; margin-left: -5px; }
+</style>
+
+<!--#include virtual="/2023/includes/banner.html"-->
+<!--#include virtual="/2023/includes/sidebar.html"-->
+
+<h1>LibrePlanet 2022 - Live</h1>
+
+<div class="row margin-top">
+  <div class="col-sm-8"> <!-- start of main content -->
+    <p>Please note that all online participants in LibrePlanet 2022 interactions are expected to abide by the conference's <a href="/2023/safe-space-policy/">safe space policy</a>.</p>
+    <p>  <div class="panel-body">
+           </div></p>
+
+<!--
+<h2>LibrePlanet has ended, thank you for attending!</h2>
+-->
+
+
+    <noscript>
+      <p>
+        Our conference streaming web interface requires JavaScript, but
+        all of our streams are readily available on
+        <a href="http://live.fsf.org">
+          live.fsf.org
+        </a>
+        and can be played with the video client of your
+        choice, such as VLC or mplayer.
+      </p>
+      <p>
+       You can watch the streams directly by using vlc or some other media players with the following URLs:<br><br>
+
+        <strong>High resolution videos:</strong><br><br>
+
+        <a href="https://live.fsf.org/libreplanet-workshop.webm">https://live.fsf.org/libreplanet-workshop.webm</a><br>
+        <!--
+        <a href="https://live.fsf.org/stream-room-jupiter.webm">https://live.fsf.org/stream-room-jupiter.webm</a><br>
+        <a href="https://live.fsf.org/stream-room-saturn.webm">https://live.fsf.org/stream-room-saturn.webm</a><br>
+        <a href="https://live.fsf.org/stream-room-neptune.webm">https://live.fsf.org/stream-room-neptune.webm</a><br><br>
+        -->
+
+        <strong>Low resolution videos (480p):</strong><br><br>
+
+        <a href="https://live.fsf.org/libreplanet-workshop-lowres.webm">https://live.fsf.org/libreplanet-workshop-lowres.webm</a><br>
+        <!--
+        <a href="https://live.fsf.org/stream-room-jupiter-lowres.webm">https://live.fsf.org/stream-room-jupiter-lowres.webm</a><br>
+        <a href="https://live.fsf.org/stream-room-saturn-lowres.webm">https://live.fsf.org/stream-room-saturn-lowres.webm</a><br>
+        <a href="https://live.fsf.org/stream-room-neptune-lowres.webm">https://live.fsf.org/stream-room-neptune-lowres.webm</a><br><br>
+        -->
+
+        <strong>Audio:</strong><br><br>
+
+        <a href="https://live.fsf.org/libreplanet-workshop.ogg">https://live.fsf.org/libreplanet-workshop.ogg</a><br>
+        <!--
+        <a href="https://live.fsf.org/stream-room-jupiter.ogg">https://live.fsf.org/stream-room-jupiter.ogg</a><br>
+        <a href="https://live.fsf.org/stream-room-saturn.ogg">https://live.fsf.org/stream-room-saturn.ogg</a><br>
+        <a href="https://live.fsf.org/stream-room-neptune.ogg">https://live.fsf.org/stream-room-neptune.ogg</a><br><br>
+        -->
+
+       or using something like this on a terminal:
+<pre>
+mpv https://live.fsf.org/stream-room-jupiter.webm
+mplayer https://live.fsf.org/stream-room-saturn.webm
+ffplay https://live.fsf.org/stream-room-neptune.webm
+</pre>
+      </p>
+    </noscript>
+
+    <div id="stream"></div>
+
+    <iframe src="https://irc.libreplanet.org/irc/"
+            class="irc-client">
+    </iframe>
+
+    <div style="margin-top: 20px">
+        <p>For low resolution stream URLs, check the sidebar to the right.</p>
+    </div>
+  </div> <!-- end of main content -->
+
+  <div class="col-sm-4"> <!-- start of right sidebar column -->
+    <!--#include virtual="/2023/includes/live_sidebar.html" -->
+  </div> <!-- end of right sidebar column -->
+</div>
+
+<!--#include virtual="/2023/includes/footer.html"-->
+<!--#include virtual="/2023/includes/common_js.html"-->
+<script src="/2023/assets/js/mithril.min.js"></script>
+<script src="/2023/assets/js/stream.js"></script>
+<script>
+$("#p-sessions").addClass("active").text("Sessions");
+</script>
+<!--#include virtual="/2023/includes/livestream_js.html"-->
+<!--#include virtual="/2023/includes/close.html" -->
diff --git a/2023/live/jupiter/index.html b/2023/live/jupiter/index.html
new file mode 100755 (executable)
index 0000000..f54d07c
--- /dev/null
@@ -0,0 +1,49 @@
+<!--#include virtual="/2023/includes/header.html"-->
+
+<title>LibrePlanet 2022 ~ Live</title>
+
+<style>
+.astronaut {
+  display: none;
+}
+</style>
+
+<!--#include virtual="/2023/includes/banner.html"-->
+<!--#include virtual="/2023/includes/sidebar.html"-->
+
+<h1>LibrePlanet 2022 - Live</h1>
+
+<div class="row margin-top">
+  <div class="col-sm-12"> <!-- start of main content -->
+
+    <p>Please note that all online participants in LibrePlanet 2022 interactions are expected to abide by the conference's <a href="/2023/safe-space-policy/">safe space policy</a>.</p>
+
+    <a name="stream"></a>
+    <div id="static-stream">
+        <video class="lp-video" id="speaker-video" controls autoplay>
+            <p><em>Your browser does not support the HTML5 video tag, please upgrade to a recent libre browser.</em></p>
+        </video>
+    </div>
+
+<script>
+// embed video url based on page name, and add a ?t=foo datestamp to work around caching issues
+matchResult = window.location.pathname.match(RegExp("\/2022\/(registered/|libreadventure-iframe/|)live/(jupiter|saturn|neptune)/?"));
+if (matchResult !== null) {
+    document.getElementById("speaker-video").src = "https://live.fsf.org/stream-room-" + matchResult[2] + ".webm?t=" + (new Date() * 1);
+}
+</script>
+
+
+    <!--
+    <iframe src="https://irc.libreplanet.org/irc/"
+            class="irc-client">
+    </iframe>
+    -->
+
+    <p>If the video is not loading for you in LibreAdventure, try clicking on the video, or leaving and revisiting the area.</p>
+
+  </div> <!-- end of main content -->
+
+<!--#include virtual="/2023/includes/footer.html"-->
+<!--#include virtual="/2023/includes/common_js.html"-->
+<!--#include virtual="/2023/includes/close.html" -->
diff --git a/2023/live/menu.html b/2023/live/menu.html
new file mode 100755 (executable)
index 0000000..e0e544e
--- /dev/null
@@ -0,0 +1,28 @@
+<!--#include virtual="/2023/includes/header.html"-->
+
+<title>LibrePlanet 2022 &mdash; Live</title>
+
+<!--#include virtual="/2023/includes/banner.html"-->
+<!--#include virtual="/2023/includes/sidebar.html"-->
+
+<h1> Menu </h1>
+
+<div class="row margin-top">
+  <div class="col-sm-8">
+
+       <div class="list-group text-center text-thick">
+         <a class="list-group-item alt-a" href="jupiter">Jupiter Room</a>
+         <a class="list-group-item alt-a" href="staturn">Saturn Room</a>
+         <a class="list-group-item alt-a" href="neptune">Neptune Room</a>
+       </div>
+
+  </div>
+  <div class="col-sm-4"> <!-- start of sidebar column -->
+       <!--#include virtual="/2023/includes/live_sidebar.html" -->
+  </div> <!-- end of sidebar column -->
+</div>
+
+
+<!--#include virtual="/2023/includes/footer.html"-->
+<!--#include virtual="/2023/includes/common_js.html"-->
+<!--#include virtual="/2023/includes/close.html" -->
diff --git a/2023/live/neptune b/2023/live/neptune
new file mode 120000 (symlink)
index 0000000..c230c6a
--- /dev/null
@@ -0,0 +1 @@
+jupiter/
\ No newline at end of file
diff --git a/2023/live/saturn b/2023/live/saturn
new file mode 120000 (symlink)
index 0000000..c230c6a
--- /dev/null
@@ -0,0 +1 @@
+jupiter/
\ No newline at end of file