Get chat + video same window, earl+SVB

CreeDo

Fargo Rating 597
Silver Member
It requires a little effort. It works in firefox, can't promise it works anywhere else. Think it will.


1. highlight & copy everything in the scrolling box below, make sure you get all of it. Paste it into a new text document, call it whatever you want.
2. In that text file, scroll down & look for a line that looks like this:
<!-- =============================
just after that line is <script src="http://custlogin etc etc
Replace everything between the quotes with the link at the top of your popup video window. It should start with http://custlogin also. Don't erase the quotes.
3. Save and close this document. Rename the document from whatever.txt to whatever.htm ...its icon should change if you do it properly. Double click the htm file you just renamed.

4. (optional)This is designed to work with a 1280 wide monitor. If your monitor is different width it might look funny. You can change the width of the video and the chat. To do that you gotta edit the file some more. Easiest way to do that is rename it back to whatever.txt and then do the next steps. When you're done, save, close, rename to .htm again, and double click it.

To change the chat width, search (recommend using ctrl+F) for the line that begins <table style="width:400px;" and change the 400 to something smaller or larger.

To change the video width, look in that red link you pasted earlier in step one. There are two numbers for width and height. This takes a little math, the numbers must be changed proportionally.

Combinations that work: 856 x 486, 749 x 423, 642 x 365


Code:
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="http://interface.audiovideoweb.com/ci_css/custlogin.css" />    
    <!-- @view_css -->
	        
    <title></title>          
    <script type="text/javascript">
      function pcheck() {}
    </script>         
  </head>	
<body>
  <style type="text/css">
    body {
      background-color: #ffffff;
      margin: 10px 0 0 0;
      text-align: center;
    }
  </style>

  <div id="StreamPanel" style="float:right;">
    <!-- BEGIN AudioVideoweb.com Embed Code -->
    <span>
<!-- =================================================================== -->
<script src="http://custlogin.audiovideoweb.com/lnks/mo/dir/il81flslive6319/load?bgcolor=auto&skin=grey&width=856&height=486&authcode=lol[/color=red]" type="text/javascript"></script></span>
    <!-- END AudioVideoweb.com Embed Code -->    
  </div>
</br>
		<title>Ustream - You're ON - Live Streaming Video</title>
					<link rel="shortcut icon" href="http://cdn2.ustream.tv/static/images/favicon-blue:51336.ico" />
				<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
				<meta name="robots" content="index, follow" />
<meta name="description" content="Ustream - You're ON - Live Streaming Video" />
<meta name="verify-v1" content="rxzEzICqj/Fzcsk4DodfDnrkiLUEa8g7Bj5yONd80Pk=" />
		<link rel="stylesheet" type="text/css" href="http://cdn2.ustream.tv/static/v3/css/packed_www_core:683031.css" />

<link rel="stylesheet" type="text/css" href="http://cdn2.ustream.tv/static/v3/css/packed_www_channel:681901.css" />
		<script type="text/javascript" src="http://cdn2.ustream.tv/static/v3/js/l10n/en_us/packed_www_header_preinit:12984579871.js"></script>
<script type="text/javascript" src="http://cdn2.ustream.tv/static/v3/js/l10n/en_us/packed_www_header_libs:12997715841.js"></script>
<script type="text/javascript" src="http://cdn2.ustream.tv/static/v3/js/l10n/en_us/packed_www_header_framework:12998504261.js"></script>

		<script type="text/javascript">
if (!window.ustream) window.ustream = {};
if (!ustream.labels) ustream.labels = {};
</script>

		<script type="text/javascript" id="UstreamExposedVariables">
if (!window.ustream) ustream = {};
if (typeof ustream.vars == 'undefined') ustream.vars = {};ustream.vars.isLive=true;ustream.vars.locale="en_US";ustream.vars.channelId=381730;ustream.vars.v3=true;ustream.vars.pageId="Channel_PopupChat";ustream.vars.pageUrl="\/channel-popup\/chat\/381730";ustream.vars.loggedIn=false;ustream.vars.loggedInUserId=0;ustream.vars.sessionId=false;ustream.vars.staticUrl="http:\/\/cdn2.ustream.tv\/";ustream.vars.imagesToPreload=["http:\/\/cdn2.ustream.tv\/static\/images\/ajax-loader-small:16422.gif","http:\/\/cdn2.ustream.tv\/static\/images\/ajax-loader-big:16422.gif"];ustream.vars.ctxtId="comp020000";
</script>		<script type="text/javascript">
					</script>

		<style type="text/css">
					</style>
	</head>
	<body id="Channel_PopupChat" class="v3 ustream context-live lang-en-US">
		
<!-- Begin comScore Tag -->
<script>
	document.write(unescape("%3Cscript src='" + (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js' %3E%3C/script%3E"));
</script>

<script>
COMSCORE.beacon({
	c1:2,
	c2:7716434,
	c3:"",
	c4:"",
	c5:"",
	c6:"",
	c15:""
});
</script>
<noscript>
<img src="http://b.scorecardresearch.com/p?c1=2&c2=7716434&c3=&c4=&c5=&c6=&c15=&cj=1" />
</noscript>
<!-- End comScore Tag -->

				<!-- Channel_PopupChat -->
		<!-- Start Google Async Analytics tags -->
		<script type="text/javascript">
		var _gaq = _gaq || [];
		_gaq.push(['_setAccount', 'UA-1359697-1']);
		_gaq.push(['_setAllowAnchor', true]);
				_gaq.push(['_trackPageview']);

		(function() {
			var ga = document.createElement('script');
		 	ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
			ga.setAttribute('async', 'true');
			document.documentElement.firstChild.appendChild(ga);
		})();
		</script>
		<style type="text/css">html, body, #ChannelPopupChat { height: 100%;}</style>
<div class="channelContent" id="ChannelPopupChat">

<table style="width:400px;" cellpadding="0" cellspacing="0" border="2" class="grid">
<tr><td class="header">
	<div class="topBar">

		<div class="right">
			<ul id="SocialSwitcher">
													<li class="chat fakeLink active"><b></b>Chat</li>
							</ul>
			<a href="" class="button popout" id="PopoutChannelSocial"><b></b></a>
		</div>
	</div>
</td></tr>
<tr><td class="flexContent" id="FlexHeightSampling">

			<div id="SocialBox" class="rightSide irc">
							<div class="irc">
				<!-- CHAT BLOCK -->
<div id="chat" style="width:353px;height:100%">
	<div id="chatContent">
		<div style="padding:10px;">Loading...</div>
	</div>
	<script type="text/javascript">
		ustream.vars.ircChatData = {
			id: 'chat',
			version: '9.0.115',
			expressinstall: 'http://cdn2.ustream.tv/swf/expressInstall.swf',
			movie:  'http://cdn1.ustream.tv/swf/4/irc.96.swf',
			width:  '353',
			height: '369',
			params: {
				wmode: 'window',
				allowscriptaccess: 'always'
			},
			attributes: {
				id: 'chat'
			},
			flashvars:
				{"channel":"#tarshow","channelId":381730,"brandId":1,"host":"chat1.ustream.tv","vrsl":"c.4.561","session":null,"ref":"\/channel-popup\/chat\/381730","canHideUserList":1,"locale":"en_US"}
		};
	</script>

	<noscript>
		<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="353" height="369" id="chat">
			<param name="movie" value="http://cdn1.ustream.tv/swf/4/irc.96.swf" />
			<param name="wmode" value="window" />
			<param name="allowfullscreen" value="true" />
			<param name="allowscriptaccess" value="always" />
			<param name="flashvars" value="style:'b5d1e1f:r5d1e1f:hb441213:hcffffff:bb150404:brffffff:bcffffff:cc:bd000000'&channel=#tarshow&channelId=381730&brandId=1&host=chat1.ustream.tv&vrsl=c.4.561&session=&ref=/channel-popup/chat/381730&canHideUserList=1&locale=en_US&" />
			<!--[if !IE]>-->
			<object type="application/x-shockwave-flash" data="" width="353" height="369">
				<param name="wmode" value="window" />
				<param name="allowfullscreen" value="true" />
				<param name="allowscriptaccess" value="always" />
				<param name="flashvars" value="style: 'b5d1e1f:r5d1e1f:hb441213:hcffffff:bb150404:brffffff:bcffffff:cc:bd000000'&channel=#tarshow&channelId=381730&brandId=1&host=chat1.ustream.tv&vrsl=c.4.561&session=&ref=/channel-popup/chat/381730&canHideUserList=1&locale=en_US&" />
			<!--<![endif]-->
				<a href="http://www.adobe.com/go/getflashplayer">
					<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
				</a>
			<!--[if !IE]>-->
			</object>
			<!--<![endif]-->
		</object>
	</noscript>
</div>
<!--div id="ChatAlias" style="width:100%;height:100%; position: absolute; top: -50px; left: -50px;"></div-->

<!-- /CHAT BLOCK -->

				</div>
								</div>
	</td></tr>
	<tr><td class="footer">
		<div class="bottomBanner">

			<div class="container">
				
	<div class="banner" id="FullBanner">
			<!--/* OpenX Javascript Tag v2.8.6-rc2 */-->

<script type='text/javascript'><!--//<![CDATA[
   document.MAX_ct0 ='INSERT_CLICKURL_HERE';

   var m3_u = (location.protocol=='https:'?'https://d-ssl.ustream.tv/ajs.php':'http://d.ustream.tv/ajs.php');
   var m3_r = Math.floor(Math.random()*99999999999);
   if (!document.MAX_used) document.MAX_used = ',';
   document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
   document.write ("?zoneid=118");
   document.write ('&cb=' + m3_r);
   if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
   document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
   document.write ("&loc=" + escape(window.location));
   if (document.referrer) document.write ("&referer=" + escape(document.referrer));
   if (document.context) document.write ("&context=" + escape(document.context));
   if ((typeof(document.MAX_ct0) != 'undefined') && (document.MAX_ct0.substring(0,4) == 'http')) {
       document.write ("&ct0=" + escape(document.MAX_ct0));
   }
   if (document.mmm_fo) document.write ("&mmm_fo=1");
   document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://d.ustream.tv/ck.php?n=a91e5878&cb=1261747989' target='_blank'><img src='http://d.ustream.tv/avw.php?zoneid=118&cb=1261747989&n=a91e5878&ct0=INSERT_CLICKURL_HERE' border='0' alt='' /></a></noscript>	</div>

			</div>
		</div>
	</td></tr>

</table>

</div>
		<script type="text/javascript" src="http://cdn2.ustream.tv/static/v3/js/l10n/en_us/packed_www_common:13003644141.js"></script>
<script type="text/javascript" src="http://cdn2.ustream.tv/static/v3/js/l10n/en_us/packed_www_channel:13000403421.js"></script>
							<!-- Start Quantcast tags (http)-->
			<script type="text/javascript">_qacct="p-22sNmkTMKNC-A";</script>
			<noscript>
				<a href="http://www.quantcast.com/p-22sNmkTMKNC-A" target="_blank">
					<img src=" http://pixel.quantserve.com/pixel/p-22sNmkTMKNC-A.gif" style="display: none" border="0" height="1" width="1" alt="Quantcast"/>
				</a>
			</noscript>

			<script type="text/javascript" src="http://edge.quantserve.com/quant.js" charset="UTF-8"></script>
				
<!-- START Nielsen Online SiteCensus V6.0 -->
<!-- COPYRIGHT 2010 Nielsen Online -->
<script type="text/javascript">
(function () {
	var d = new Image(1, 1);
	d.onerror = d.onload = function () {
	  d.onerror = d.onload = null;
	};
	d.src = ["http://secure-us.imrworldwide.com/cgi-bin/m?ci=us-903145h&cg=0&cc=1&si=", escape(window.location.href), "&rp=", escape(document.referrer), "&ts=compact&rnd=", (new Date()).getTime()].join('');
})();
</script>
<noscript>
<div>
	<img src="http://secure-us.imrworldwide.com/cgi-bin/m?ci=us-903145h&cg=0&cc=1&ts=noscript"
		width="1" height="1" alt=""
	/>
</div>
</noscript>
<!-- END Nielsen Online SiteCensus V6.0 -->

	</body>
</html>
 
Top