[b]Preview:[/b]
[b][url=http://profiles.friendster.com/7027003]Ma proffy[/url][/b] - it's random youtube on refresh baby! [img]http://h1.ripway.com/shakiro/banana.gif[/img]
For the [b]Newbies[/b], there is a the [b]premade sidebar code[/b] found further down
What is [b]&rel=1?[/b] [img]http://img223.imageshack.us/img223/5225/shockingsd8.gif[/img]
- When [b]&rel[/b] is equal to [b]1[/b] it means that the related videos menu will appear once your video ends.
- When it is set to [b]0[/b], that menu will not appear.[/quote]
[align=center][b]TIP: The Videos [color=red]DO NOT[/color] have to all be Youtube[/b][/align]
[b]Here's my newest feature: - [color=green]THE SHUFFLE SWITCH[/color] -[/b]
[img]http://h1.ripway.com/shakiro214/images/example4.jpg[/img]
Can you guess what it's for? [img]http://smileydatabase.com/s/94.gif[/img]
and here's the premade for a sidebar with a shuffle switch:
<">That's it! You're done!
Last edited by shakiro214 (2008-04-20 00:03:05)
[b]Please +rep me if you like this idea... seriously[/b]
LOL!
you always noticed that irwan
[img]http://img486.imageshack.us/img486/5404/7155668qt1.gif[/img] Please [b]+rep me[/b] if you like this idea
[/b]
Weeee!
been wondering..where shall we put this one..inside the onload handler? or anywhere else...
was it applicable for users having 3.1.1 wvm??
or anywhere in your js
but if you know what parts to change and remove, you can put it inside of your tracker's onload handler, but there could be errors if you do it wrong. But if you were to put it on your onload handler, it might something look like this:
[quote]//this is a shakiro214 production
//In cooperation with friendsterTalk forum
//some rights reserved
mtv = new Array();
mtv[0]="http://www.youtube.com/v/hME7uyoNseo&autoplay=1&rel=1";
mtv[1]="http://www.youtube.com/v/-25Om_MnEK4&autoplay=1&rel=1";
mtv[2]="http://www.youtube.com/v/Yjd8YzQFI38&autoplay=1&rel=1";
pokedex=Math.floor(Math.random() * mtv.length);
var embedder="<div align='center' id='flasherdiv'>"+
"<br><embed src="+mtv[pokedex]+" width='295px' type='application/x-shockwave-flash' wmode='transparent'></embed>"+
"</div><br>";
addBox("right",blah,blah,blah....,embedder,blah,blah,blah.... );[/quote]
the blah,blah,blah.... part just depends on how your function addBox is defined.
Last edited by shakiro214 (2007-12-02 23:22:24)
or anywhere in your js
but if you know what parts to change and remove, you can put it inside of your tracker's onload handler, but there could be errors if you do it wrong. But if you were to put it on your onload handler, it might something look like this:
[quote]//this is a shakiro214 production
//In cooperation with friendsterTalk forum
//some rights reserved
mtv = new Array();
mtv[0]="http://www.youtube.com/v/hME7uyoNseo&autoplay=1&rel=1";
mtv[1]="http://www.youtube.com/v/-25Om_MnEK4&autoplay=1&rel=1";
mtv[2]="http://www.youtube.com/v/Yjd8YzQFI38&autoplay=1&rel=1";
pokedex=Math.floor(Math.random() * mtv.length);
var embedder="<div align='center' id='flasherdiv'>"+
"<br><embed src="+mtv[pokedex]+" width='295px' type='application/x-shockwave-flash' wmode='transparent'></embed>"+
"</div><br>";
addBox("right",blah,blah,blah....,embedder,blah,blah,blah.... );[/quote]
the blah,blah,blah.... part just depends on how your function addBox is defined.[/quote]
ok bro..i get it..thanks for letting us experience this nice trick...cheers!
1st post updated to include [b]scale='scale'[/b]
Last edited by shakiro214 (2007-12-03 16:07:16)
it's actually a [b]3-in-1[/b]
[b]1.[/b] unlimited random videos
[b]2.[/b] a shuffle switch - to switch videos without refreshing
[b]3.[/b] and hidden controls
[img]http://img486.imageshack.us/img486/5404/7155668qt1.gif[/img] it's so beautiful...