*

gonZo

  • pain-in-the-ass moderator
  • 9610
Making "safe" YouTube and DailyMotion links
« on: August 07, 2012, 10:27:45 PM »
We're discussing methods to create direct links to YouTube videos that don't include the "related links" thumbnails that sometimes display content prohibited by the Forum Rules. I started by suggesting this overly complicated method...


On the YouTube page…
  • click the "Share" button
  • click the "Embed" button
  • copy the automatically-selected text

Then in the Forum posting form…
  • paste the copied text
  • select and delete all pasted text before http
  • select and delete all pasted text after rel=0

What's left is a working link directly to the video, instead of its YouTube page.
« Last Edit: June 12, 2014, 12:22:19 AM by gonZo »

*

Palomine

  • Moderator
  • 24116
  • Modern Male Mammal, Linux enthusiast.
Re: Making a safe YouTube link
« Reply #1 on: August 07, 2012, 10:59:38 PM »
Alternate method (provides a safe link but no image stamp):

Right-mouse click in the video window and select 'Pop out' and the video will appear by itself in a new window.
Copy the URL from the new pop-out window and paste that into your forum post.

*

Liam

  • G Cup
  • 3898
  • I'm here for the boobs, not a popularity contest.
Re: Making a safe YouTube link
« Reply #2 on: August 08, 2012, 12:26:04 AM »
Another way is take a regular youtube url, remove "watch?" and "=" and replace the latter with a forward slash.  So the url looks like this:
http://www.youtube.com/v/QxQgLOu_C9w

« Last Edit: August 08, 2012, 01:08:06 AM by Liam »
Welcome to the internet where elitism, hypocrisy, and sycophancy know no bounds.

Most "popular" forum users are nothing more than prolific trolls that are well connected.

Note:  I don't do debates and I don't respond to argumentative little shits who swear black is white just to bait me.

*

gonZo

  • pain-in-the-ass moderator
  • 9610
Re: Making a safe YouTube link
« Reply #3 on: August 08, 2012, 03:20:38 AM »
Well, those're a bit simpler...  ;D

Pal adds: advance kudos to whomever posts concise instructions for this that also put an image stamp in the forum post so users will know what they're getting before clicking the link! :P ;)
« Last Edit: August 08, 2012, 07:37:32 AM by Palomine »

*

gonZo

  • pain-in-the-ass moderator
  • 9610
Re: Making a "safe" YouTube link
« Reply #4 on: August 08, 2012, 01:28:46 PM »
This is an almost streamlined way to do a thumbnailed YouTube link. I don't have a PC to work with, so these are Mac instructions...



Drag/drop or paste the following template string for badged YouTube links (which you have previously saved somewhere) into the forum's posting form:

Code: [Select]
[url=http://www.youtube.com/v/VIDEO][img]THUMB[/img][/url]

On YouTube, right-click (or control-click) on the desired video's thumbnail and copy the thumbnail's URL, which will look like this:

Code: [Select]
http://i3.ytimg.com/vi/fCC_errtFFY/default.jpg

Back in the forum, select the word THUMB in the template string, and paste the thumbnail's URL in its place:

Code: [Select]
[url=http://www.youtube.com/v/VIDEO][img]http://i3.ytimg.com/vi/fCC_errtFFY/default.jpg[/img][/url]

Then copy the video's ID from the thumb's URL -- it's the fCC_errtFFY part between the slashes in this example -- then select the word VIDEO in the template string and paste the video's ID in its place:

Code: [Select]
[url=http://www.youtube.com/v/fCC_errtFFY][img]http://i3.ytimg.com/vi/fCC_errtFFY/default.jpg[/img][/url]

...which produces a badged link like this:

« Last Edit: August 08, 2012, 09:47:09 PM by gonZo »

*

DruulEmpire

  • Freakin' Huge!
  • 12919
Re: Making a "safe" YouTube link
« Reply #5 on: August 08, 2012, 07:40:59 PM »
Thank you for the JLH. ;)

*

Liam

  • G Cup
  • 3898
  • I'm here for the boobs, not a popularity contest.
Re: Making a "safe" YouTube link
« Reply #6 on: August 08, 2012, 11:34:11 PM »
Here are the links to a video's thumbnails and default image.     

Thumbnails.  There are 3 different ones.  "default" and "2" are the same:   
Code: [Select]
http://img.youtube.com/vi/<insert-youtube-video-id-here>/default.jpg
http://img.youtube.com/vi/<insert-youtube-video-id-here>/1.jpg
http://img.youtube.com/vi/<insert-youtube-video-id-here>/2.jpg
http://img.youtube.com/vi/<insert-youtube-video-id-here>/3.jpg


Default image.  "0" and "hqdefault" are the same:
Code: [Select]
http://img.youtube.com/vi/<insert-youtube-video-id-here>/0.jpg
http://img.youtube.com/vi/<insert-youtube-video-id-here>/mqdefault.jpg
http://img.youtube.com/vi/<insert-youtube-video-id-here>/hqdefault.jpg
http://img.youtube.com/vi/<insert-youtube-video-id-here>/maxresdefault.jpg

However, hotlinking any of those using the img tag still produces a small thumbnail and not the bigger image.  But this gives you some alternatives to work with.

*****

But anyway, for a basic thumbnailed YouTube link, this template works I think.  All you have to do is insert the video id in 2 places:
Code: [Select]
[url=http://www.youtube.com/v/<insert-youtube-video-id-here>][img]http://img.youtube.com/vi/<insert-youtube-video-id-here>/default.jpg[/img][/url]
Welcome to the internet where elitism, hypocrisy, and sycophancy know no bounds.

Most "popular" forum users are nothing more than prolific trolls that are well connected.

Note:  I don't do debates and I don't respond to argumentative little shits who swear black is white just to bait me.

*

gonZo

  • pain-in-the-ass moderator
  • 9610
Re: Making a "safe" YouTube link
« Reply #7 on: August 09, 2012, 02:04:10 AM »
Here's Liam's string with double-clickable insertion points. Just replace both occurrences of VIDEOID with the YouTube ID:
Code: [Select]
[url=http://www.youtube.com/v/VIDEOID][img]http://img.youtube.com/vi/VIDEOID/default.jpg[/img][/url]
« Last Edit: August 09, 2012, 02:09:40 AM by gonZo »

*

rtpoe

  • Old Fart
  • 9878
Re: Making a "safe" YouTube link
« Reply #8 on: August 09, 2012, 02:04:19 AM »
Mind if I try?

« Last Edit: August 09, 2012, 02:08:06 AM by gonZo »
rtpoe

"We go in withering July
To ply the hard incessant hoe;
Panting beneath the brazen sky
We sweat and grumble, but we go!"
-  Ruth Pitter, The Diehards

*

gonZo

  • pain-in-the-ass moderator
  • 9610
Re: Making a "safe" YouTube link
« Reply #9 on: August 09, 2012, 02:19:32 AM »
(Note: careful if you need to re-edit your post containing a badged link, because the forum software will sometimes add width and height parameters to the image tag when you resave your post, which breaks the thumbnail.)

*

Liam

  • G Cup
  • 3898
  • I'm here for the boobs, not a popularity contest.
Re: Making a "safe" YouTube link
« Reply #10 on: October 07, 2012, 10:49:12 PM »
For dailymotion, take the regular video url and add "embed/" right before "video":
Code: [Select]
http://www.dailymotion.com/embed/video/VIDEOID
To get the video's large thumbnail, add "thumbnail/" right before "video":
Code: [Select]
http://www.dailymotion.com/thumbnail/video/VIDEOID
  
« Last Edit: October 07, 2012, 10:58:19 PM by Liam »
Welcome to the internet where elitism, hypocrisy, and sycophancy know no bounds.

Most "popular" forum users are nothing more than prolific trolls that are well connected.

Note:  I don't do debates and I don't respond to argumentative little shits who swear black is white just to bait me.

*

gonZo

  • pain-in-the-ass moderator
  • 9610
Re: Making a "safe" YouTube link
« Reply #11 on: October 08, 2012, 12:16:12 AM »
Thank you Liam!

(later: removed a note here about a forum software modification that failed)
_
gonZo
« Last Edit: January 07, 2013, 12:51:26 PM by gonZo »

Re: Making a safe YouTube link
« Reply #12 on: January 07, 2013, 06:22:50 AM »
Alternate method (provides a safe link but no image stamp):

Right-mouse click in the video window and select 'Pop out' and the video will appear by itself in a new window.
Copy the URL from the new pop-out window and paste that into your forum post.


Use this method if embedding is disabled.  Thanks, Palomine.

*

Soflobro

  • A Cup
  • 747
Re: Making a "safe" YouTube link
« Reply #13 on: April 27, 2013, 04:56:42 PM »
I am now book marking this page for future use. Btw, how would this work for videos at daily motion?

Pal replies: IDR if the same exact steps work at DM, but in GENERAL, you try to get the 'video-window-only' URL for the video and use THAT instead of the URL for the whole page. That way, you avoid the peripheral stuff. SO: many video sites will have buttons/links for you to obtain embed links or ways to 'pop out' the video to it's own window by itself, which will have it's own URL too.

At DailyMotion (like at Youtube) there's more than one way to do it. An easy way is to right-mouse-menu click the 'copy embed code' from inside video window... this will put a long string of text into your clipboard. Paste this into your post... but EDIT it since you ONLY NEED the first URL in the string, not the rest. I.e.: here's the FULL TEXT from right-mouse-menu 'copy embed code':


<iframe frameborder="0" width="480" height="271" src="http://www.dailymotion.com/embed/video/xycu40"></iframe><br /><a href="http://www.dailymotion.com/embed/video/xycu40_padma-lakshmi-susan-sarandon-and-debbie-harry-go-to-the-blossom-ball-hollywood-tv_people" target="_blank">Padma Lakshmi, Susan Sarandon and Debbie Harry...</a> <i>by <a href="http://www.dailymotion.com/hollywoodtv" target="_blank">hollywoodtv</a></i>

...but the only part you need is that first URL:

http://www.dailymotion.com/embed/video/xycu40

...there are other/fancier methods (that provide image stamps, make the stamps into links, etc...) but that's a basic method that works at DM. Again, something similar can be done at most video sites.  It takes some experimentation and of course, users should TEST the link they come up with to make sure it works as they expect it to.
« Last Edit: April 27, 2013, 06:09:03 PM by Palomine »
"The bigger the better, the tighter the sweater, the boys depend on us!"

*

fattyjack

  • A Cup
  • *
  • 32
Re: Making "safe" YouTube and DailyMotion links
« Reply #14 on: July 12, 2014, 10:16:23 AM »
thanks.......