OccupyStream - All Occupy Wall Street Streams and IRC - Live Revolution             $(function() { // grab a random banner $.get('includes/get_banner.php', function(data) { $('.banner').attr('src', data); }); // grab the poll $.get('includes/get_poll.php', function(data) { $('#poll_window div.content').html(data); }); // get the schedule $.getJSON('includes/get_schedule.php', {}, function(data) { }); // handles poll $("#poll_form").live('submit', function() { var returnValue; $.post('poll.php', $('#poll_form').serialize(), function (data) { if (data == "SUCCESS") { returnValue = true; } else { returnValue = true; showPollResults(data) } }); return returnValue; }); // get youtubes $.getJSON('includes/get_youtube.php', { channel: 'occupystream', count: 20 }, function(data) { $.each(data, function(i, vidya) { $v = $('
').addClass('yt_vid'); $v.html("
"+vidya.title+"
"+vidya.description+"
"); $v.attr('yt_id', vidya.video_id); $('#yt_sidebar').append($v); }); }); $('.yt_vid').live('click', function(event) { event.preventDefault(); var ytplayer = document.getElementById('yt_player'); ytplayer.loadVideoById($(this).attr('yt_id')); }); $('.yt_expand').click(function(event) { event.preventDefault(); if ($('#yt_vidya').css('margin-right') == "200px") { $('#yt_sep').animate({'width':'8px'}); $('#yt_vidya').animate({'margin-right':'8px'}); $('.yt_expand').attr('src', 'images/player/expand.png'); } else { $('#yt_sep').animate({'width':'200px'}); $('#yt_vidya').animate({'margin-right':'200px'}); $('.yt_expand').attr('src', 'images/player/contract.png'); } }); $('#yt_seek_bar').click(function(event) { event.preventDefault(); var ytplayer = document.getElementById('yt_player'); var x = event.pageX - $(this).offset().left; var width = $(this).css('width').substr(0, $(this).css('width').length - 2); var duration = ytplayer.getDuration(); ytplayer.seekTo((x / width) * duration); }); // yt vidya var params = { allowScriptAccess: "always", wmode: "opaque" }; var atts = { id: "yt_player" }; swfobject.embedSWF("http://web.archive.org./web/20111223215042/http://www.youtube.com/apiplayer?version=3&video_id=UDRn_30zHYo&enablejsapi=1&playerapiid=yt_player", "yt_player", "100%", "100%", "8.0.0", null, null, params, atts); // handle nav clicks $('#navbar li').click(function(event) { event.preventDefault(); var drop = $(this).attr('id').substr(3, $(this).attr('id').length); if ($('#drop_'+drop).css('display') == 'block') { $('#dropdown').slideUp(200, function(){ $('.drop_sec').css('display', 'none'); }); } else { $('.drop_sec').css('display', 'none'); $('#drop_'+drop).css('display', 'block'); if ($('#dropdown').css('display') == 'none') { $('#dropdown').slideDown(200); } } }); // handle close button $('.close').click(function(event) { event.preventDefault(); $(this).parent().parent().fadeOut(500, function() { var window_name = $(this).attr('id'); window_name = window_name.substr(0, window_name.length - 7); var tab_name = window_name + "_tab"; $('#'+tab_name).animate({'marginLeft':'0'}); }); }); // handle tab button $('.tab').click(function(event) { event.preventDefault(); if ($(this).css('margin-left') == "0px") { var tab_name = $(this).attr('id'); tab_name = tab_name.substr(0, tab_name.length - 4); var window_name = tab_name + "_window"; $('#'+window_name+ '.handle').click(); $(this).animate({'marginLeft':'-26px'}, function() { $('#'+window_name).fadeIn(500); $('#'+window_name).mousedown(); }); } }); // setup the jqDrag for the windows on screen $('.window').each(function() { $(this).draggable({ handle: '.handle' }); if ($(this).hasClass('resizable')) $(this).resizable(); }); $('.window').mousedown(function() { $('.window').css('z-index', 0); $(this).css('z-index', 1); }); $('.handle').mousedown(function() { $('.window').css('z-index', 0); $(this).parent().css('z-index', 1); }); // setting a few things if swxp is undefined if ($.cookie('nope') == undefined || $.cookie('nope') == null) { // set them in the right positions var body_width = stripPx($('body').css('width')); var stream_width = stripPx($('#stream_window').css('width')); var chat_width = stripPx($('#chat_window').css('width')); var total_width = stream_width + chat_width + 10; var sw_left = (body_width/2)-(total_width/2); var cw_left = sw_left + stream_width + 10; $('#stream_window').css('left', sw_left+'px'); $('#chat_window').css('left', cw_left+'px'); var stream_height = stripPx($('#stream_window').css('height')); var poll_width = stripPx($('#poll_window').css('width')); $('#stream5_window').css({'top':stream_height+10+'px', 'left':sw_left+'px'}); $('#twitter_window').css({'top':stream_height+10+'px', 'left':cw_left+'px'}); $('#chipin_window').css({'top':stream_height+10+'px', 'left':sw_left+1000+'px'}); // one time shot $.cookie('nope', 'jepp', { expires: 0 }); } else // otherwise lets load some shit { $('.window').each(function(index) { var window_id = $(this).attr('id').substr(0, $(this).attr('id').length - 7); $(this).attr('style', $.cookie(window_id + '_style')); $(this).css('opacity', '1'); var w = $(this).css('width').substr(0, $(this).css('width').length - 2); if (w <= 0) $(this).css('width', '320px'); var h = $(this).css('height').substr(0, $(this).css('height').length - 2); if (h <= 0) $(this).css('height', '240px'); if ($(this).css('display') == 'none') { $('#' + window_id + '_tab').css('margin-left', '0px'); } else { $('#' + window_id + '_window').css('display:block;'); $('#' + window_id + '_tab').css('margin-left', '-26px'); } }); } if ($.cookie('stvs') == 'true') { $('#stream_tab_bubble').remove(); } if ($.cookie('ctvs') == 'true') { $('#chat_tab_bubble').remove(); } $('#yt_playpause').click(function(event) { event.preventDefault(); var ytplayer = document.getElementById('yt_player'); var ytplayer_state = ytplayer.getPlayerState(); if (ytplayer_state == 1) ytplayer.pauseVideo(); else ytplayer.playVideo(); }); $('#s_submit').click(function() { if ($.cookie('_xctv') != '1') { if ($('#s_email').val() != "" && $('#s_content').val() != "") { $.post('includes/stream_application.php', {email:$('#s_email').val(), post:$('#s_content').val()}, function(data) { if (data == 'jepp') { $('#s_status').text("Thanks for submitting your application!"); $.cookie('_xctv', '1', { expires: 9001 }); } else $('#s_status').text("ERROR: Please contact Keefers or SonOfBoreas."); }); } } else $('#s_status').text("You've already submitted, thank you!"); }); // holy fuck this is a huge mess lol // pops open the share bubble bitch $('#share_icon').click(function() { if ($('#share_box').attr('bubble-out') == '1') { $('#share_box').animate({ marginTop: '0px', opacity: '0', }, 200, function(){$('#share_box').attr('bubble-out','0');$('#share_box').css('display','none');}); } else { $('#share_box').css('display','block'); $('#share_box').animate({ marginTop: '10px', opacity: '1', display: 'block' }, 200, function(){$(this).attr('bubble-out','1');}); } //$('#share_box').fadeToggle(300); }); $('#stream_tabs li').click(function() { $('#stream_tabs .tab-active').removeClass('tab-active'); $(this).addClass('tab-active'); embedPlayer($(this).attr('stream')); $('#stream_tab_bubble').fadeOut(500, function(){$(this).remove();}); $.cookie('stvs', 'true', { expires: 0 }); }); $('#chat_tabs li').click(function() { $('#chat_tabs .tab-active').removeClass('tab-active'); $(this).addClass('tab-active'); embedChat($(this).attr('chat')); $('#chat_tab_bubble').fadeOut(500, function(){$(this).remove();}); $.cookie('ctvs', 'true', { expires: 9001 }); }); // embed the gr tv stream embedPlayer('gr'); // embed the gr chat stream embedChat('gr'); // saving shit bro window.onbeforeunload = saveShit; saveShit(); }); // we're saving shit bro don't you get it by now? function saveShit() { $('.window').each(function(index) { var window_id = $(this).attr('id').substr(0, $(this).attr('id').length - 7); $.cookie(window_id + '_style', $(this).attr('style'), { expires: 9001 }); }); } // strip px off a value for a raw number function stripPx(x) { return Number(x.substr(0, x.length - 2)); } // youtube on ready shit function onYouTubePlayerReady(playerId) { var ytplayer = document.getElementById('yt_player'); ytplayer.addEventListener('onStateChange', 'onStateChangeEvent'); } function onLoop() { var ytplayer = document.getElementById('yt_player'); if (ytplayer) { var cur = ytplayer.getCurrentTime(); var dur = ytplayer.getDuration(); var perc = (cur/dur) * 100; $('#yt_buffer_bar').css('width', perc+'%'); } } function onStateChangeEvent(state) { if (state == 2 || state == -1 || state == 0) { $('#yt_playpause img').attr('src', 'images/player/play.png'); clearInterval('onLoop()'); } else if (state == 1) { $('#yt_playpause img').attr('src', 'images/player/pause.png'); setInterval('onLoop()', 50); } } function updateTickerBitch() { $.get('includes/get_ticker.php', function(text) { if (text) $('#ticky').text(text); }); } function showPollResults(message) { $('#poll_message').html(message); $('#poll_message').fadeIn(); } function embedPlayer(stream) { var flashvars = {}, params = {wmode:"transparent", allowScriptAccess:"always"}, attributes = {}; var ls_start = "http://web.archive.org./web/20111223215042/http://cdn.livestream.com/grid/LSPlayer.swf?channel="; var ls_end = "&color=0x000000&autoPlay=true&mute=false&iconColorOver=0xe7e7e7&iconColor=0xcccccc"; var swf_url; switch (stream) { case 'nyc': swf_url = ls_start + 'occupywallstnyc' + ls_end; break; case 'ak': swf_url = ls_start + 'occupyanchorage' + ls_end; break; case 'alb': swf_url = ls_start + 'occupyalbany' + ls_end; break; case 'atl': swf_url = ls_start + 'occupyatlanta' + ls_end; break; case 'az': swf_url = ls_start + 'occupytucson' + ls_end; break; case 'bal': swf_url = ls_start + 'occupybaltimorelive' + ls_end; break; case 'bky': swf_url = ls_start + 'occupyberkeley' + ls_end; break; case 'bos': swf_url = ls_start + 'occupyboston' + ls_end; break; case 'buf': swf_url = ls_start + 'occupyblo' + ls_end; break; case 'cin': swf_url = ls_start + 'occupycincy' + ls_end; break; case 'dc': swf_url = ls_start + 'occupykst' + ls_end; break; case 'det': swf_url = ls_start + 'detroit99' + ls_end; break; case 'ct': swf_url = ls_start + 'occupynewhaven' + ls_end; break; case 'fl': swf_url = ls_start + 'occupytampa' + ls_end; break; case 'fl2': swf_url = ls_start + 'occupygville' + ls_end; break; case 'fl3': swf_url = ls_start + 'occupypensacola' + ls_end; break; case 'orl': swf_url = ls_start + 'occupy_orlando' + ls_end; break; case 'ind': swf_url = ls_start + 'occupyindy' + ls_end; break; case 'ky': swf_url = ls_start + 'occupylouisville' + ls_end; break; case 'ky2': swf_url = ls_start + 'occupyashlandky' + ls_end; break; case 'la': swf_url = ls_start + 'owslosangeles' + ls_end; break; case 'lv': swf_url = ls_start + 'occupylasvegas' + ls_end; break; case 'me': swf_url = ls_start + 'occupymaine' + ls_end; break; case 'mi': swf_url = ls_start + 'occupy_flint' + ls_end; break; case 'mia': swf_url = ls_start + 'occupymia' + ls_end; break; case 'mn': swf_url = ls_start + 'occupymn' + ls_end; break; case 'mtl': swf_url = ls_start + 'occupymontreal' + ls_end; break; case 'nj': swf_url = ls_start + 'occupynj_statehouse' + ls_end; break; case 'no': swf_url = ls_start + 'occupynola' + ls_end; break; case 'nm': swf_url = ls_start + 'occupyalbuquerque' + ls_end; break; case 'gr': swf_url = ls_start + 'globalrevolution' + ls_end; break; case 'nyc2': swf_url = ls_start + 'occupynyc' + ls_end; break; case 'nv': swf_url = ls_start + 'occupyreno' + ls_end; break; case 'oak': swf_url = ls_start + 'occupyoakland' + ls_end; break; case 'oh': swf_url = ls_start + 'occupycolumbus' + ls_end; break; case 'oh2': swf_url = ls_start + 'occupytoledo' + ls_end; break; case 'po': swf_url = ls_start + 'occupyptown' + ls_end; break; case 'phi': swf_url = ls_start + 'occupyphiladelphia' + ls_end; break; case 'pit': swf_url = ls_start + 'occupypittsburgh' + ls_end; break; case 'phx': swf_url = ls_start + 'occupyphoenix' + ls_end; break; case 'ri': swf_url = ls_start + 'occupyprovidenceri' + ls_end; break; case 'sac': swf_url = ls_start + 'occupysacto' + ls_end; break; case 'scz': swf_url = ls_start + 'occupysantacruz' + ls_end; break; case 'sea': swf_url = ls_start + 'owsoccupyseattle' + ls_end; break; case 'sd': swf_url = ls_start + 'occupysandiegolivefeed' + ls_end; break; case 'sf': swf_url = ls_start + 'occupyfdsf' + ls_end; break; case 'stl': swf_url = ls_start + 'occupystlouis' + ls_end; break; case 'tn': swf_url = ls_start + 'occupymemphis' + ls_end; break; case 'tn2': swf_url = ls_start + 'occupynashville2011' + ls_end; break; case 'tor': swf_url = ls_start + 'occupytoronto' + ls_end; break; case 'au': swf_url = ls_start + 'occupyaustin' + ls_end; break; case 'va': swf_url = ls_start + 'occupyrva' + ls_end; break; case 'va2': swf_url = ls_start + 'occupynorfolkva' + ls_end; break; case 'van': swf_url = ls_start + 'axiomaticaorg' + ls_end; break; case 'aus': swf_url = ls_start + 'occupysydneyhq' + ls_end; break; case 'aus2': swf_url = ls_start + 'occupymelb' + ls_end; break; case 'aus3': swf_url = ls_start + 'occupybrisbanelive' + ls_end; break; case 'ger': swf_url = ls_start + 'undergroundreports' + ls_end; break; case 'ger2': swf_url = ls_start + 'occupyduesseldorf' + ls_end; break; case 'ger3': swf_url = ls_start + 'occupyhamburg' + ls_end; break; case 'gre': swf_url = ls_start + 'stopcarteltvgr' + ls_end; break; case 'irl': swf_url = ls_start + 'occupydamestreet' + ls_end; break; case 'ned': swf_url = ls_start + 'occupydenhaagstream' + ls_end; break; case 'ned2': swf_url = ls_start + 'occupyamsterdam' + ls_end; break; case 'slv': swf_url = ls_start + 'prisotnoststeje' + ls_end; break; case 'avz': swf_url = ls_start + 'avaazwallstreet' + ls_end; break; case 'wi': swf_url = ls_start + 'occupymadison' + ls_end; break; case 'uk': swf_url = ls_start + 'occupylsx' + ls_end; break; case 'uk2': swf_url = ls_start + 'occupylondon2' + ls_end; break; case 'ita': swf_url = ls_start + 'occupyitaly' + ls_end; break; case 'nz': swf_url = ls_start + 'occupyauckland' + ls_end; break; case 'octv': swf_url = ls_start + 'occupytv' + ls_end; break; case 'br': swf_url = ls_start + 'anonymousbr' + ls_end; break; case 'pr': swf_url = ls_start + 'occupypuertorico' + ls_end; break; case 'tac': swf_url = ls_start + 'owsoccupytacoma' + ls_end; break; } swfobject.embedSWF(swf_url, "stream_player", "100%", "100%", "9.0.0", null, flashvars, params, attributes); // if we are on the stream chat then we want to swap that too if ($('#chat_tabs li[chat=sc]').hasClass('tab-active')) embedChat(stream); } function embedChat(stream) { var flashvars = { cid: '1290754739730', c: '666666', d: '666666', e: '000000', g: 'CCCCCC', h: '000000', j: 'CCCCCC', k: 'CCCCCC', l: '999999', m: '222222', n: 'FFFFFF', p: '9', q: '999999', t: '0', v: '0' }, params = {wmode:"transparent"}, attributes = {}; var dont_embed_swf = false; var swf_url = "http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=globalrevolution"; if (stream == 'gr') swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=globalrevolution'; else { var stream = $('#stream_tabs li.tab-active').attr('stream'); switch (stream) { case 'nyc': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupywallstnyc'; break; case 'ak': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyanchorage'; break; case 'alb': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyalbany'; break; case 'atl': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyatlanta'; break; case 'az': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupytucson'; break; case 'bal': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupybaltimorelive'; break; case 'bky': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyberkeley'; break; case 'bos': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyboston'; break; case 'buf': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyblo'; break; case 'cin': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupycincy'; break; case 'ct': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupynewhaven'; break; case 'dc': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupykst'; break; case 'det': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=detroit99'; break; case 'fl': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupytampa'; break; case 'fl2': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupygville'; break; case 'fl3': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupypensacola'; break; case 'orl': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupy_orlando'; break; case 'ind': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyindy'; break; case 'ky': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupylouisville'; break; case 'ky2': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyashlandky'; break; case 'la': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=owslosangeles'; break; case 'lv': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupylasvegas'; break; case 'me': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupymaine'; break; case 'mi': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupy_flint'; break; case 'mia': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupymia'; break; case 'mn': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupymn'; break; case 'mtl': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupymontreal'; break; case 'nj': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupynj_statehouse'; break; case 'no': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupynola'; break; case 'nm': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyalbuquerque'; break; case 'gr': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=globalrevolution'; break; case 'nyc2': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupynyc'; break; case 'nv': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyreno'; break; case 'oak': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyoakland'; break; case 'oh': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupycolumbus'; break; case 'oh2': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupytoledo'; break; case 'po': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyptown'; break; case 'phi': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyphiladelphia'; break; case 'phx': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyphoenix'; break; case 'pit': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupypittsburgh'; break; case 'ri': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyprovidenceri'; break; case 'sac': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupysacto'; break; case 'scz': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupysantacruz'; break; case 'sea': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=owsoccupyseattle'; break; case 'sd': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupysandiegolivefeed'; break; case 'sf': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyfdsf'; break; case 'stl': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupystlouis'; break; case 'tor': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupytoronto'; break; case 'tn': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupymemphis'; break; case 'tn2': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupynashville2011'; break; case 'au': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyaustin'; break; case 'va': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyrva'; break; case 'va2': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupynorfolkva'; break; case 'van': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=axiomaticaorg'; break; case 'aus': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupysydneyhq'; break; case 'aus2': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupymelb'; break; case 'aus3': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupybrisbanelive'; break; case 'ger': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=undergroundreports'; break; case 'ger2': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyduesseldorf'; break; case 'ger3': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyhamburg'; break; case 'gre': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=stopcarteltvgr'; break; case 'irl': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupydamestreet'; break; case 'ned': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupydenhaagstream'; break; case 'ned2': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyamsterdam'; break; case 'slv': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=prisotnoststeje'; break; case 'avz': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=avaazwallstreet'; break; case 'wi': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupymadison'; break; case 'uk': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupylsx'; break; case 'uk2': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupylondon2'; break; case 'ita': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyitaly'; break; case 'nz': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupyauckland'; break; case 'octv': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupytv'; break; case 'br': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=anonymousbr'; break; case 'pr': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=occupypuertorico'; break; case 'tac': swf_url = 'http://web.archive.org./web/20111223215042/http://cdn.livestream.com/chat/LivestreamChat.swf?&channel=owsoccupytacoma'; break; } } if (dont_embed_swf != true) { swfobject.embedSWF(swf_url, "chat_player", "100%", "100%", "9.0.0", null, flashvars, params, attributes); } }         #OccupyWallStreet Info ▼ Block Ads ▼ Links ▼ About OccupyStream ▼                         (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'http://web.archive.org./web/20111223215042/https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })();   Tweet 
                Occupy Wall Street is a leaderless resistance movement with people of many colors, genders and political persuasions. The one thing we all have in common is that We Are The 99% that will no longer tolerate the greed and corruption of the 1%. We are using the revolutionary Arab Spring tactic to achieve our ends and encourage the use of nonviolence to maximize the safety of all participants. if (WIDGETBOX) WIDGETBOX.renderWidget('742c46a8-541e-4271-87c6-60d6ed316022');   Join us in Liberty Plaza     1. Get AdBlock Plus! (Click the picture) 2. Read these directions! ► HOW TO FIX ADBLOCK / LOADING STREAM ◄ Hit CTRL+SHIFT+F or go into ABP Preferences and add these filters to 'My Exceptions': @@||media.scanscout.com/ads/ss_ads3.swf @@||*adotube.com/adapters/AS3Overstream*.swf? @@||static.scanscout.com/ads/are3.swf     OccupyWallSt.org Donate Money to #OccupyWallStreet Occupy Together Global Revolution TV Adbusters Occupy Wall Street Tumblr We are the 99% Photos      + What is OccupyStream?

 This is a site I created for the people. I'm happy to give this to the #OWS. I have been keeping up with the IRC and Livestream chats to help out with #OccupyWallStreet. Since I saw that people needed a site like this I figured..why not? I hope this site will continue to keep you updated on #OWS. We're in this together. You can also follow us on Facebook.  + What are these tabs above the stream and chat?

 You can click each stream to instantly watch them. Clicking NYC for example will also change "Stream Chat" to their respective chat. You can switch between the two chats without affecting the stream. You can also close, open, and resize windows. Enjoy.  + Who created this?

 Hi. I'm Keith Jimenez. I am the 99%, a regular person like you. I've been waiting for an opportunity to help in the first movements of revolution, but I didn't know how. This site will hopefully connect everyone on possibly..the planet. Let's hope so. I also did this on my own free time. I'm actually not very good with programming but I hope this will suffice.  + Do you need help?

 Yes, definitely. I did not expect the site to need countless features wanted by the community. I'll be answering emails 24/7 and watching the twitter 24/7.  + How can I contact you?

 Email me at occupystream@gmail.com for any questions, comments, suggestions, ANYTHING. Also on Twitter @occupystreams     if (WIDGETBOX) WIDGETBOX.renderWidget('d22e0b9c-35ef-420d-b473-910674fbf7d3');  OccupyStream © 2011                   Global  NYC NYC2 AK ATL BAL BKY BOS BUF CIN CT DC DET GVL IN KY KY2 LA ME     MIA MI MN MTL NJ NM NO NY NV NV2 OAK OH OH2 OR ORL PEN PHI PHX PIT RI     SAC SEA SCZ SD SF STL TAC TAM TN TN2 TOR TUC TX VA VA2 VAN WI OccupyTV     AUS AUS2 AUS3 BRA GER GER2 GER3 GRE IRL ITA NED NED2 NZ PR SLV UK UK2     Select any stream you want to watch.            Global Chat Stream Chat    "Stream Chat" changes with the selected stream.              new TWTR.Widget({ version: 2, type: 'search', search: '#OWS, #OccupyWallStreet', interval: 30000, title: '', subject: '#OccupyWallStreet', width: 280, height: 300, theme: { shell: { background: '#333333', color: '#ffffff' }, tweets: { background: '#ffffff', color: '#000000', links: '#b31919' } }, features: { scrollbar: true, loop: true, live: true, hashtags: false, timestamp: true, avatars: true, toptweets: true, behavior: 'default' } }).render().start();                   Support the OccupyStream Media Team so we can give you a better experience.Thank you!       saved                                         saved           var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-XXXXX-X']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'http://web.archive.org./web/20111223215042/https://ssl' : 'http://web.archive.org./web/20111223215042/http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();