Author Topic: how to embed YouTube videos  (Read 41024 times)

0 Members and 1 Guest are viewing this topic.

Offline AdminTopic starter

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
how to embed YouTube videos
« on: September 25, 2007, 12:10:06 PM »
It can be a little confusing, but this is how to embed YouTube videos in the forum.

First, click the icon when you start or reply to a topic.

You will see something like this:
Code: [Select]
[youtube=425,350][/youtube]
Then find a YouTube video link like this:
http://www.youtube.com/watch?v=bFXyWkNhHKo

And finally, take just the random letters/numbers at the end of that link and do this:
Code: [Select]
[youtube=425,350]bFXyWkNhHKo[/youtube]
To get something like this:

[youtube=425,350]bFXyWkNhHKo[/youtube]

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: how to embed YouTube videos
« Reply #1 on: March 31, 2008, 05:26:46 PM »
Would also be good to know how to use the inline images tags as opposed to having to attach them via the 'additional options'.

The same probably applies to the Flash button.

Since these attachments appear at the end of the post - rather than inline - then this probably means we post multiple messages just to get the attachment in the correct place.

Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline AdminTopic starter

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: how to embed YouTube videos
« Reply #2 on: March 31, 2008, 08:29:55 PM »
Inline images:
Code: [Select]
[img]http://www.societyofrobots.com/images/SoRtitle.gif[/img]

Flash (doesn't embed cause its broken I think):
Code: [Select]
[flash=200,200]http://www.societyofrobots.com/downloads/astar.swf[/flash]http://www.societyofrobots.com/downloads/astar.swf

Links:
Code: [Select]
[url=http://www.google.com]use google![/url]use google!

Offline Trumpkin

  • Supreme Robot
  • *****
  • Posts: 1,176
  • Helpful? 5
Re: how to embed YouTube videos
« Reply #3 on: April 01, 2008, 08:35:17 AM »
Yep flash is broken.
« Last Edit: April 01, 2008, 08:38:22 AM by Trumpkin »
Robots are awesome!

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: how to embed YouTube videos
« Reply #4 on: May 09, 2008, 08:46:14 PM »
So to embed an in line image then we must have our own web site (or is there a 3rd party site somewhere where we can upload images like YouTube does for videos). Only other alternative is to attach  the image in our post as an attachment which then appears at the end of the page and so we need to post more pages just to get the image in a sensible place.

I've seen several (old) posts that link to an image that no longer exists - maybe the robot'eer no longer uses that web provider so his url and image are now broken.

The member forum allows us to upload files for the tutorials so can the forum software allow us to upload images and then reference them simply in our own posts?

PS I realise that this leaves you open to uploading of GBs of useless spam and other admin work - but is it an option? (I guess I've answered my own question with a NO!)  ;)
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline AdminTopic starter

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: how to embed YouTube videos
« Reply #5 on: May 10, 2008, 04:21:48 AM »
Quote
The member forum allows us to upload files for the tutorials so can the forum software allow us to upload images and then reference them simply in our own posts?
Yeap, I believe this will work. You will have to upload the image and post your post, then go back to it and modify it to do an inline image with the link of the attached image.

Offline R.O.B. 2.0

  • Jr. Member
  • **
  • Posts: 28
  • Helpful? 1
Re: how to embed YouTube videos
« Reply #6 on: July 07, 2008, 06:02:14 PM »
Can you embed Google videos?

Offline AdminTopic starter

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: how to embed YouTube videos
« Reply #7 on: July 07, 2008, 06:21:06 PM »
Nope. It was hard enough getting Youtube working :-\

I'd like to allow more video types, but unfortunately it requires a bit of coding . . . I'll probably revisit this towards the end of the year and see what modules are available.

Offline hopslink

  • Robot Overlord
  • ****
  • Posts: 202
  • Helpful? 14
Re: how to embed YouTube videos
« Reply #8 on: November 11, 2009, 05:10:42 AM »
Google Video Test

Two Robots Fightin'

Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,208
  • Helpful? 15
  • Hardware and Firmware Designer
    • The Hellinic Robots Portal
Re: how to embed YouTube videos
« Reply #9 on: January 24, 2010, 07:54:05 PM »
I don't know if anyone has noticed but since the forum upgrade there is no youtube icon...

And I have not succeed in getting the old method working...
But you can enter youtube vids as embedded flashes...

Simply hit the flash icon to get a:
Code: [Select]
[flash=200,200][/flash]Then enter the embedding code from youtube like this

Code: [Select]
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/q6De4WFcp6Y&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/q6De4WFcp6Y&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
And place it between the
Code: [Select]
[flash=200,200][/flash]
And it should be working...

Keep in mind that flash=200,200 is the width and height... Change them accordingly...

Edit... It also works without the flash so you don't meddle with width and height...
Just post the embedding code on youtube and the site would handle accordingly  8)


Best Regards, Lefteris
Greece
« Last Edit: January 24, 2010, 07:57:15 PM by TrickyNekro »
For whom the interrupts toll...

Offline AdminTopic starter

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: how to embed YouTube videos
« Reply #10 on: January 24, 2010, 09:07:28 PM »
Well, the old way to embed would be to use the [youtube] brackets.

The new way is just paste the youtube link, and it'll 'just work'. And not just for youtube, it'll work for most video sites.

The old posts with the old method is currently broken, working on that.

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: how to embed YouTube videos
« Reply #11 on: April 28, 2010, 08:18:14 PM »
So I'm trying to embed this video

Code: [Select]
<object width="960" height="745"><param name="movie" value="http://www.youtube.com/v/llzWNdH2se8&hl=en_GB&fs=1&hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/llzWNdH2se8&hl=en_GB&fs=1&hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="960" height="745"></embed></object>

Have tried all sorts of different ways.

For example: use the youtube button and enter the url http://www.youtube.com/v/llzWNdH2se8&hl=en_GB&fs=1&hd=1
It works fine in Preview mode - but when I commit the post I just an invalid youtube link error.

How should I embed it?
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline madsci1016

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,450
  • Helpful? 43
    • Personal Website
Re: how to embed YouTube videos
« Reply #12 on: April 28, 2010, 08:19:53 PM »
You can't embed the video by the embed code you were trying to post. All you can do is just drop the http link that is in your browser window when you view the video.

So just
Code: [Select]
http://www.youtube.com/watch?v=8xfeTQIOHGwlooks like
LEGO MultiCuber 6x6x6

I really don't like this fact, because it won't let me force options like default to HD.
« Last Edit: April 28, 2010, 08:24:35 PM by madsci1016 »

Offline AdminTopic starter

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: how to embed YouTube videos
« Reply #13 on: April 28, 2010, 10:03:36 PM »
For example: use the youtube button and enter the url http://www.youtube.com/v/llzWNdH2se8&hl=en_GB&fs=1&hd=1
It works fine in Preview mode - but when I commit the post I just an invalid youtube link error.
The problem is all that crap youtube likes to append at the end of a video link. Just delete everything after the & sign.

Quote
I really don't like this fact, because it won't let me force options like default to HD.
The mod I use used to allow resolution selection. It was disabled in the version I'm using now for some reason, and the most recent version refuses to install. When I upgrade the forum to v2, I'll reenable this feature if I can.

I can force it to be HD by default, but a majority of people still have bandwidth issues (like me).

Offline Razor Concepts

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
    • RazorConcepts
Re: how to embed YouTube videos
« Reply #14 on: September 22, 2010, 07:36:37 PM »
It has been bugging me enough lately to post this- these embedded youtube videos dont work on ipod touch/ipad with safari, it just shows up as empty space.

Offline madsci1016

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,450
  • Helpful? 43
    • Personal Website
Re: how to embed YouTube videos
« Reply #15 on: September 22, 2010, 07:52:12 PM »
It has been bugging me enough lately to post this- these embedded youtube videos dont work on ipod touch/ipad with safari, it just shows up as empty space.

That's nothing to do with this website or the people who make the forum, it's Apple's refusal to allow flash on ipod/ ipad.

Offline Razor Concepts

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
    • RazorConcepts
Re: how to embed YouTube videos
« Reply #16 on: September 23, 2010, 04:10:27 AM »
Youtube flash does work on these devices, for example i can see the embedded youtube videos in hackaday just fine

Offline madsci1016

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,450
  • Helpful? 43
    • Personal Website
Re: how to embed YouTube videos
« Reply #17 on: September 23, 2010, 06:51:28 AM »
Unless i missed the big announcement otherwise, Apple doesn't support generic flash. They have 'plug-ins' that will render some stuff like youtube using there own software, but it has to be able to 'pick out' that there is a youtube video on the page. The SMF software running SOR doesn't use the regular youtube embed html code; it  generates it's own whenever a poster just drops the youtube url into the post.

Hack-a-day uses regular youtube html embed code, so your plug-in sees that there's a youtube video it needs to handle. It doesn't recognize SMF html embed code for youtube videos.

On a side note, it works just fine on my Android phone.  :P

Offline kuratasrobot

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
  • The Ultimate Battle Mech
    • Skype - karianify
Re: how to embed YouTube videos
« Reply #18 on: August 26, 2012, 08:47:09 AM »
Thank you for the information. :)
kuratasrobot(dot)com

Offline mhobbies

  • Jr. Member
  • **
  • Posts: 8
  • Helpful? 0
Re: how to embed YouTube videos
« Reply #19 on: May 23, 2014, 05:15:15 AM »
i am trying to embed Google videos.

 


data_list