forked from varia/varia.website
anglk
5 years ago
1 changed files with 70 additions and 4 deletions
@ -1,5 +1,71 @@ |
|||||
Title: stream.nl |
title: stream.nl |
||||
Category: meta |
category: meta |
||||
Slug: stream |
slug: stream |
||||
lang: nl |
lang: nl |
||||
Date: 2017-04-09 |
date: 2017-04-09 |
||||
|
|
||||
|
|
||||
|
<span class="stream"> |
||||
|
<audio id="player" preload="none" src="http://w-i-t-m.net:8001/radiodrama"> </audio> |
||||
|
<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> |
||||
|
|
||||
|
<iframe id="irc-chat" src="https://webchat.freenode.net/?#varia" style="border:0;width:100%;height:400;"></iframe> |
||||
|
|
||||
|
<h2>Archief van streams</h2> |
||||
|
<ul> |
||||
|
<li><a href="https://varia.zone/nl/we-hope-this-email.html">We hope this email finds you well - a radio drama series </a><br> |
||||
|
<audio |
||||
|
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/nl/radio-on-radio.html">Radio on the radio - Online Stream </a><br> |
||||
|
</li> |
||||
|
|
||||
|
</ul> |
||||
|
|
||||
|
<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"); |
||||
|
|
||||
|
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>'; |
||||
|
|
||||
|
chat_title.insertAdjacentElement('afterend', element); |
||||
|
|
||||
|
return; |
||||
|
} |
||||
|
else { |
||||
|
setTimeout(function() { |
||||
|
|
||||
|
waitForIt(selector, time); |
||||
|
|
||||
|
}, time); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
waitForIt(".toggle-smiley", 1000); |
||||
|
})(); |
||||
|
|
||||
|
|
||||
|
$(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> |
||||
|
Loading…
Reference in new issue