YouTube

B-22

18-04-2010 22:05:00

hey aadivasi ,maybe this will help wink

put this in your index.html after the <body> tagline

<div id="html2" style="positionabsolute;color000000; overflowhidden; left480px; top57px; width300px; height425px; z-index0">

<style type="text/css">
<!--
A{text-decorationnone}
-->
</style>


<script language="javascript">
<!--
var state = 'none';

function showhide(layer_ref) {

if (state == 'block') {
state = 'none';
}
else {
state = 'block';
}
if (document.all) { //IS IE 4 or 5 (or 6 beta)
eval( "document.all." + layer_ref + ".style.display = state");
}
if (document.layers) { //IS NETSCAPE 4 or below
document.layers[layer_ref].display = state;
}
if (document.getElementById &&!document.all) {
hza = document.getElementById(layer_ref);
hza.style.display = state;
}
}
//-->
</script>

<p><a href="#" onclick="showhide('div1');"><body link="ccff00" alink="cc00cc" vlink="ccff00">YouTube</a></p>
<div id="div1" style="display none;background-color #ccff00; layer-background-color #ccff00;border thin solid black;"><div id="videoControl">
<span style="color#ccff00;font-size11px;margin10px;padding4px;">Loading...</span>
</div>



<!-- Ajax Search Api and Stylesheet
// Note If you are already using the AJAX Search API, then do not include it
// or its stylesheet again
//
// The Key Embedded in the following script tag is designed to work with
// the following site
// yoursite adress -->
<script src="http//www.google.com/uds/api?file=uds.js&v=1.0&source=uds-vsw&key=ABQIAAAALF1skjSLEAZPzId5XyjjJhRTaogqhgSe-W3NiJE-AYYh8RtjHhQMYHw_Kb2839QpXKjBRPa2FAs63Q"
type="text/javascript"></script>
<style type="text/css">
@import url("http//www.google.com/uds/css/gsearch.css");
</style>

<!-- Video Search Control and Stylesheet -->
<script type="text/javascript">
window._uds_vsw_donotrepair = true;
</script>
<script src="http//www.google.com/uds/solutions/videosearch/gsvideosearch.js?mode=new"
type="text/javascript"></script>
<style type="text/css">
@import url("http//www.google.com/uds/solutions/videosearch/gsvideosearch.css");
</style>

<script type="text/javascript">
function LoadVideoSearchControl() {
var options = {
twoRowMode true
};
var videoSearch = new GSvideoSearchControl(
document.getElementById("videoControl"),
[{ query "madonna"}, { query "radiohead"}, { query "blur"}, { query "gorillaz"}], null, null, options);
}
// arrange for this function to be called during body.onload
// event processing
GSearch.setOnLoadCallback(LoadVideoSearchControl);
</script>

</div>

bugstir

21-04-2010 21:56:16

put this in your index.html after the <body> tagline [/quote2bvtbdil]


Where is this in the VS files?

B-22

22-04-2010 12:10:18

i was modding myself with the index.html [C\Program Files\Vibe Streamer\sites\default] i forgot to mention that the orignal file do not have this tag ,<body> ...so put this script at the end before the </body> sorry about this ...it still works also you can put your own youtube player api in this file [url1j7ig2sw]http://www.google.com/uds/solutions/videosearch/index.html[/url1j7ig2sw] succes 8)

bugstir

24-04-2010 11:51:44

There is no index.html at C\Program Files\Vibe Streamer\sites\default

It is index.vibe ?

B-22

25-04-2010 02:48:33

well there you go! succes with the implantation of the code o