PDA

View Full Version : Posting YouTube links in IRC



dh2k3
January 1st, 1970, 12:00 AM
<div id="watch-embed-div">
<form action="" name="embedForm" id="embedForm">
<label for="embed_code">Embed</label>
<div>
<input id="embed_code" name="embed_code" type="text" value='&lt;object width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/MoKp0sgqbKY&amp;hl=en&amp;fs=1&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/MoKp0sgqbKY&amp;hl=en&amp;fs=1&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;/embed&gt;&lt;/object&gt;' onClick="javascript:document.embedForm.embed_code.focus();d ocument.embedForm.embed_code.select();" readonly />
<span id="watch-embed-customize-wrapper" class="tooltip-wrapper">
<img id="watch-embed-customize" onclick="customizeEmbed(); urchinTracker('/Events/VideoWatch/CustomizeEmbed');" src="http://s.ytimg.com/yt/img/pixel-vfl73.gif" class="hand" alt="" onmouseover="toggleSimpleTooltip(this, true)" onmouseout="toggleSimpleTooltip(this, false)">
<div class="tooltip-wrapper-box hid"><div class="tooltip-box">Customize</div><img class="tooltip-box-bot" src="http://s.ytimg.com/yt/img/pixel-vfl73.gif"></div>
</span>
</div>
<div class="clearL"></div>
</form>
</div>



You can see where it says

value=&quot;http://www.youtube.com/v/MoKp0sgqbKY copy and paste the http://www.youtube.com/v/MoKp0sgqbKY into a browser and viola video without the comments!

dh2k3
January 24th, 2008, 10:19 PM
To post youtube links in IRC do the following:

1) Find the video you want to link to ex: http://www.youtube.com/watch?v=MoKp0sgqbKY

2) Click on View>Page Source

3) Find the line that begins with

var embedCode = '<object width="425" height="' + height + '"><param name="movie" value="http://www.youtube.com/v/MoKp0sgqbKY' + query + '"><\/param><param name="wmode" value="transparent"><\/param><embed src="http://www.youtube.com/v/MoKp0sgqbKY' + query +'" type="application/x-shockwave-flash" wmode="transparent" width="425" height="' + height + '"><\/embed><\/object>';
document.embedForm.embed_code.value = embedCode;See where it says value= http://www.youtube.com/v/MoKp0sgqbKY. Copy and paste it (without the value= so it's just the web address). What this does is it shows the video without the comments.

Dave

K4driver
April 8th, 2008, 06:26 PM
thank you for telling me

colhad
April 12th, 2008, 09:51 PM
Testing

http://www.youtube.com/watch?v=0Tb_HfdoA28

Ben1337
June 18th, 2008, 01:10 PM
Hi

I've been looking all over the page source but I couldn't find it.so I couldn't find a way to find what you told me to look for.

I tried the find function by copying the whole code and pasting it into the find function but it couldn't find it.

PJAMA
December 19th, 2008, 05:47 AM
where can I find the IRC? Is it in Trainz?

aodgh0st
February 4th, 2009, 07:10 PM
irc is a chat program, look for Mirc and then you'll be able to join the chat

dh2k3
June 15th, 2009, 08:16 AM
Hi

I've been looking all over the page source but I couldn't find it.so I couldn't find a way to find what you told me to look for.

I tried the find function by copying the whole code and pasting it into the find function but it couldn't find it.

It's there ex: http://www.youtube.com/watch?v=RehPDgd-djs right-click on the webpage itself (not the video) and view the source. You'll need to search for www.youtube.com/v/ (http://www.youtube.com/v/) and you should find that on the 2nd instance of the search. you'll see http://www.youtube.com/v/RehPDgd-djs and that's what you copy & paste for commentless videos