varia.website/content/pages/stream.en.md

73 lines
2.8 KiB
Markdown
Raw Normal View History

2020-04-17 00:42:56 +02:00
title: stream
category: meta
slug: stream
lang: en
2020-04-17 00:42:56 +02:00
date: 2017-04-09
2020-04-17 00:24:36 +02:00
2020-06-27 15:35:22 +02:00
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
2020-04-17 00:24:36 +02:00
<span class="stream">
2020-06-27 12:21:04 +02:00
<audio id="player" preload="none" src="http://w-i-t-m.net:8001/nightnoises"> </audio>
2020-04-17 00:24:36 +02:00
<div>
<button class="stream-button" onclick="document.getElementById('player').play()">Play</button>
<button class="stream-button" onclick="document.getElementById('player').pause();document.getElementById('player').src=document.getElementById('player').src;">Stop</button>
<button class="stream-button" onclick="document.getElementById('player').volume += 0.1">Vol +</button>
<button class="stream-button" onclick="document.getElementById('player').volume -= 0.1">Vol -</button>
</div>
</span>
2020-04-18 14:44:13 +02:00
<iframe id="irc-chat" src="https://webchat.freenode.net/?#varia" style="border:0;width:100%;height:400;"></iframe>
2020-04-17 00:24:36 +02:00
2020-05-05 14:52:35 +02:00
<h2> Archive of streams</h2>
<ul>
2020-06-09 18:18:58 +02:00
<li><a href="https://varia.zone/en/Groeten_Charlois.html">Niek Hilkmann - Groeten uit Charlois (Stream) </a><br>
</li>
<li><a href="https://varia.zone/en/we-hope-this-email.html">We hope this email finds you well - a radio drama series </a><br>
<audio
2020-05-05 14:52:35 +02:00
controls
src="https://vvvvvvaria.org/archive/2020-04-18-we-hope-this-email-finds-you-well/we-hope-this-email-finds-you-well.wav">
Your browser does not support the
<code>audio</code> element.
</audio></li>
<li><a href="https://varia.zone/en/radio-on-radio.html">Radio on the radio - Online Stream </a><br>
</li>
2020-05-05 14:52:35 +02:00
</ul>
2020-04-17 00:24:36 +02:00
<script>
(function(){
function waitForIt(selector, time) {
if(document.querySelector(selector)!=null) {
var chat_title = document.getElementsByClassName("chatbox-title__text")[0];
var element = document.createElement("span");
2020-04-17 00:28:11 +02:00
element.innerHTML = '<audio id="player" preload="none" src="http://w-i-t-m.net:8001/radiodrama"></audio><div><button onclick="document.getElementById(\'player\').play()">Play</button><button onclick="document.getElementById(\'player\').pause();document.getElementById(\'player\').src=document.getElementById(\'player\').src;">Stop</button><button onclick="document.getElementById(\'player\').volume += 0.1">Vol +</button><button onclick="document.getElementById(\'player\').volume -= 0.1">Vol -</button></div>';
2020-04-17 00:24:36 +02:00
chat_title.insertAdjacentElement('afterend', element);
return;
}
else {
setTimeout(function() {
waitForIt(selector, time);
}, time);
}
}
waitForIt(".toggle-smiley", 1000);
})();
2020-04-18 14:44:13 +02:00
2020-04-18 15:05:55 +02:00
$(function() {
console.log("PARENT READY");
$("iframe").on("load", function(){
console.log("LOADED");
$(this).contents().find('.kiwi-startup-common').hide();
});
});
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>