YouTube Videos In Posts

This is where all forum related help and how to... information will be posted

YouTube Videos In Posts

Postby Arcada » Thu Jul 08, 2010 12:35 pm

Hi All,

Hope you don't mind me posting - I'm Bob's long suffering "web guy" so feel free to ask any "how do I....." questions and I'll try my best to answer them.

First up - I noticed you guys are YouTube junkies so have created a new BBCode tag for embedding YouTube videos right into your posts. Simply take the YouTube URL (web address) and put it between [youtube][/youtube] tags in your post. I've also added a youtube BBCode button which you'll see when you post a message, just click on it and then add the URL of the youtube video.

The result should look something like this: -

Code: Select all
[youtube]http://www.youtube.com/watch?v=NqNBslt1qWM[/youtube]


For which the end result would be: -



NOTE: For this to work embedding must be enabled in the YouTube settings for the video.

Enjoy :)
User avatar
Arcada
Site Admin
Site Admin
 
Posts: 745
Joined: Tue Jul 06, 2010 4:28 pm
Location: Edinburgh, UK
Real Name: Marc

Re: YouTube Videos In Posts

Postby Basil Henriques » Thu Jul 08, 2010 12:52 pm

Thanks Arcada ? it's NOT listed in the BBCode implementation page here..
So it's nice to know..
Image
Steelies do it without fretting
Image
User avatar
Basil Henriques
Dedicated Member
Dedicated Member
 
Posts: 1305
Joined: Wed Jul 07, 2010 1:05 am
Location: Trevelmond, Liskeard, Cornish Riviera, United Kingdom
Real Name: Basil Henriques

Re: YouTube Videos In Posts

Postby bob adams » Thu Jul 08, 2010 12:56 pm

Ha!...........Basil will just love you ......... :D :D ...

We'll make you a steel fan yet Mr!!

Thanks for the additional facility many have struggled with this in the past!
User avatar
bob adams
Dedicated Member
Dedicated Member
 
Posts: 1721
Joined: Tue Jul 06, 2010 7:48 pm

Re: YouTube Videos In Posts

Postby Arcada » Thu Jul 08, 2010 12:58 pm

Basil Henriques wrote:Thanks Arcada ? it's NOT listed in the BBCode implementation page here..
So it's nice to know..


It's a custom written BBCode. I'm working on one for embedding MP3s just now so expect that soon.... :guitar:
User avatar
Arcada
Site Admin
Site Admin
 
Posts: 745
Joined: Tue Jul 06, 2010 4:28 pm
Location: Edinburgh, UK
Real Name: Marc

Re: YouTube Videos In Posts

Postby Arcada » Thu Jul 08, 2010 2:05 pm

I've now added the MP3 player as well.

In addition to the instructional forum posts I have also added instructions for both to the general BBCode FAQ which can be found here (only for the English language version, I'm afraid).
User avatar
Arcada
Site Admin
Site Admin
 
Posts: 745
Joined: Tue Jul 06, 2010 4:28 pm
Location: Edinburgh, UK
Real Name: Marc

Re: YouTube Videos In Posts

Postby Will C » Thu Aug 01, 2013 8:14 pm

Marc,

Do you have any idea why I can't see the video content when I click on an embedded YouTube video? The only part of the video I can see is a narrow stripe at the top of the frame. The rest looks like a maladjusted LCD contrast setting: just barely visible, but useless!

Will C
St Ives, Cambridgeshire
User avatar
Will C
Dedicated Member
Dedicated Member
 
Posts: 1080
Joined: Fri Nov 26, 2010 10:43 am
Location: Ramsey, Cambs
Real Name: Will Cowell

Re: YouTube Videos In Posts

Postby Arcada » Thu Aug 01, 2013 8:39 pm

Will C wrote:Do you have any idea why I can't see the video content when I click on an embedded YouTube video? The only part of the video I can see is a narrow stripe at the top of the frame. The rest looks like a maladjusted LCD contrast setting: just barely visible, but useless!


Odd...no idea, most likely a graphics issue on your device (PC / laptop / phone / tablet). The embedded videos still link to the videos on YouTube, just click on the title...that is assuming you can view them OK on YouTube?

EDIT: I've just updated the code to use YouTube's iframe implementation instead of the old embed code, this might improve things for you and anyone else having issues.
User avatar
Arcada
Site Admin
Site Admin
 
Posts: 745
Joined: Tue Jul 06, 2010 4:28 pm
Location: Edinburgh, UK
Real Name: Marc

Re: YouTube Videos In Posts

Postby Will C » Fri Aug 02, 2013 6:07 am

It's a fairly recent model laptop, Marc, running Win7. Video is fine if I go direct to YouTube by clicking the URL in the title bar at the top, but your change fixed the problem anyway. Thank you!

Will C
St Ives, Cambridgeshire
User avatar
Will C
Dedicated Member
Dedicated Member
 
Posts: 1080
Joined: Fri Nov 26, 2010 10:43 am
Location: Ramsey, Cambs
Real Name: Will Cowell

Re: YouTube Videos In Posts

Postby Arcada » Fri Aug 02, 2013 7:45 am

Will C wrote:It's a fairly recent model laptop, Marc, running Win7. Video is fine if I go direct to YouTube by clicking the URL in the title bar at the top, but your change fixed the problem anyway. Thank you!


In that case, it sounds like the problem may have been Flash related. The old embed code relied on Flash, whereas the iframe approach doesn't need it.
User avatar
Arcada
Site Admin
Site Admin
 
Posts: 745
Joined: Tue Jul 06, 2010 4:28 pm
Location: Edinburgh, UK
Real Name: Marc

Re: YouTube Videos In Posts

Postby Basil Henriques » Sat Aug 03, 2013 12:18 am

Fixed in a "Flash".. or not Flash.... Maybe it was a "Bad Flash"..
Image
Steelies do it without fretting
Image
User avatar
Basil Henriques
Dedicated Member
Dedicated Member
 
Posts: 1305
Joined: Wed Jul 07, 2010 1:05 am
Location: Trevelmond, Liskeard, Cornish Riviera, United Kingdom
Real Name: Basil Henriques

Next

Return to Forum How To

Who is online

Users browsing this forum: No registered users and 1 guest