STREAMING 2013-08-13 : RX8
12 years ago
More RX8 nonsense; probably a lot of code.
http://www.livestream.com/imaginaryzvore
IMPORTANT NOTE:
I have since discovered how to automatically post whether or not I am streaming via livestream API 2.0; The test is here:
http://imaginaryzvore.blogspot.com/.....56221367856e18
And the code is:
[code]
<!-- LIVESTREAM STATUS: BEGIN CODE -->
<!-- Livestream Javascript cross site request hack; get your livestream status!-->
<div id="livestreamStatusDIV">Is Streaming?</div>
<script type="text/javascript">
function parseResponse( arg )
{
//Replace this URL with your own stream.
var mystreamurl = "http://www.livestream.com/imaginaryzvore";
//This is displayed (html) if you are NOT streaming.
var resulttext = "LIVESTREAM: I am not streaming right now.";
if( arg.channel.isLive == true ){
//This is displayed if you ARE streaming.
resulttext="<b>LIVESTREAM: <a href=\""+mystreamurl+"\">I AM STREAMING LIVE!!!</a></b>";
}
document.getElementById("livestreamStatusDIV").innerHTML = resulttext;
}
</script>
<!-- Replace ximaginaryzvorex with xYOURCHANNELx. Yes the x is important. -->
<script type="application/javascript" src="http://ximaginaryzvorex.api.channel...../script>
<!-- LIVESTREAM STATUS: END CODE -->
[/code]
http://www.livestream.com/imaginaryzvore
IMPORTANT NOTE:
I have since discovered how to automatically post whether or not I am streaming via livestream API 2.0; The test is here:
http://imaginaryzvore.blogspot.com/.....56221367856e18
And the code is:
[code]
<!-- LIVESTREAM STATUS: BEGIN CODE -->
<!-- Livestream Javascript cross site request hack; get your livestream status!-->
<div id="livestreamStatusDIV">Is Streaming?</div>
<script type="text/javascript">
function parseResponse( arg )
{
//Replace this URL with your own stream.
var mystreamurl = "http://www.livestream.com/imaginaryzvore";
//This is displayed (html) if you are NOT streaming.
var resulttext = "LIVESTREAM: I am not streaming right now.";
if( arg.channel.isLive == true ){
//This is displayed if you ARE streaming.
resulttext="<b>LIVESTREAM: <a href=\""+mystreamurl+"\">I AM STREAMING LIVE!!!</a></b>";
}
document.getElementById("livestreamStatusDIV").innerHTML = resulttext;
}
</script>
<!-- Replace ximaginaryzvorex with xYOURCHANNELx. Yes the x is important. -->
<script type="application/javascript" src="http://ximaginaryzvorex.api.channel...../script>
<!-- LIVESTREAM STATUS: END CODE -->
[/code]
DracoPotens
~dracopotens
Very cool!...I need to learn code, this whole language still confuses me , thankfully I'm really young so I still have time too
FA+
