What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » how do i do this...

how do i do this...
Author: Message:
Baggins
Full Member
***

Avatar
B000ALFAZO

Posts: 387
Reputation: 13
29 / Male / Flag
Joined: Oct 2006
RE: how do i do this...
ok, one solution popped into my head, first create three variables

in the first store:
code:
<HTML>
<TITLE>YouTube Viewer</TITLE>
<Script>
var v;

function viewVid(video){
v = video;
document.getElementById("vid").innerHTML = "<object width=\"425\" height=\"350\"><param name=\"movie\" value=\"http://www.youtube.com/v/

second:
code:
\"></param><param name=\"wmode\" value=\"transparent\"></param><embed src=\"http://www.youtube.com/v/

third:
code:
\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"425\" height=\"350\"></embed></object>";
}
</Script>
<BODY onload=''>
<div id='vid' align='center'>
</div>
</BODY>
</HTML>


now when you find out the id for whichever video you want to veiw, store it in a variable.

finally write the variables in this order to your file

var1, id, var2, id, var3

that is write NOT append

then you have a .html that you can open

that is the easiest way i can think of

This post was edited on 12-11-2006 at 12:14 AM by Baggins.
12-11-2006 12:12 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
how do i do this... - by roflmao456 on 12-09-2006 at 10:50 PM
RE: how do i do this... - by Baggins on 12-09-2006 at 11:09 PM
RE: how do i do this... - by roflmao456 on 12-11-2006 at 12:03 AM
RE: how do i do this... - by Baggins on 12-11-2006 at 12:12 AM
RE: how do i do this... - by Spunky on 12-11-2006 at 12:16 AM
RE: how do i do this... - by CookieRevised on 12-11-2006 at 02:49 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On