Jump to content



Photo
- - - - -

YouTube and Google Video BBcode tags


  • This topic is locked This topic is locked
26 replies to this topic

#1 Chris

Chris

    Limbal Rings

  • Administrators
  • 10,967 posts

Posted 17 March 2007 - 10:11 PM

I have added a new custom BBcode to the forums which allows you to embed YouTube videos in your posts. I decided to add this simple code after a couple of requests to be able to use it, and the fact that many people (especially in the stunting forum) post links to youtube videos. Now you'll never have to leave the site to watch them!

The tag is fairly simple to use, but please read this before you head off posting and making a complete fool of yourself. If the URL to the video you want to post is www.youtube.com/watch?v=6RDswuSdpbE then you would post it using just the video ID (the code after v= ), so like this:
[youtube]6RDswuSdpbE[/youtube]
The above code will produce the following in your post:




UPDATE: I just added BBCode for embedding Google Videos into your posts, it works in a similar fashion to the YouTube tag...

So, if the video you want to post is located at video.google.com/videoplay?docid=-7426072412397382971 then you would just use the following code
[gvideo]-7426072412397382971[/gvideo]
yes, just the number after docid=, and you need that - sign too.

That will produce this in your post:




If you post the whole URL in the tag it will not work and there will just be a blank space, that's for both youtube and google videos, so remember that when you go to use it. Enjoy.

#2 CroScorpion

CroScorpion

    LCF Hitman

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,748 posts
  • Croatia 

Posted 17 March 2007 - 10:18 PM

This will help us with a lot of things but is an add-on or something :?:

Posted Image
Posted Image
Liberty Crime Family public chat
Liberty Crime Family gang recruitment


#3 Chris

Chris

    Limbal Rings

  • Administrators
  • 10,967 posts

Posted 17 March 2007 - 10:22 PM

No, but it's simple really. IPB has a built in Custom BBCode feature. You just enter in what you want the tag to be and what HTML it converts it to and voila! Done.

#4 Jared

Jared

    Executioner

  • Elite Members
  • 1,968 posts
  • Australia 

Posted 18 March 2007 - 12:19 AM

Very nice idea, will certainly come in handy. Nice job Chris :).

#5 GTAPlayer

GTAPlayer

    Executioner

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,339 posts
  • Sweden 

Posted 18 March 2007 - 12:45 AM

Yeah man, this is some great news.
Currently disabled

#6 chris82

chris82

    Modding King

  • Elite Members
  • 2,917 posts

Posted 18 March 2007 - 01:08 AM

Posted Image

Good, you can let users embed these but don't have to let them use HTML code which is potentially dangerous on a forum.

Brilliant!

Might as well help pop the Youtube cherry on this forum.



(Shameless plug of my map for Counter-Strike: Source)


Posted Image
Posted Image
Summary of TGTAP
This signature does not display correctly on Internet Explorer 6 or lower.


#7 Artur

Artur

    I-E-A-I-A-I-O

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,835 posts

Posted 18 March 2007 - 04:40 AM

Awesome news Chris! This will be really useful all around the forum. Thanks!

Posted Image

Courtesy of TM!


#8 TM™

TM™

    Need new model for avatar :P

  • Elite Members
  • 6,334 posts

Posted 18 March 2007 - 10:16 AM

Nice work Chris, this is really useful, well I guess this will help most of us atleast. :)
Posted Image
TM™ - Elite.

#9 Ciaran

Ciaran

    1 pWn t3h n00bs

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,179 posts

Posted 18 March 2007 - 03:16 PM

Cool, I only know of one forum which has done this and it has been proved very popular, Nice work.

#10 Dark Lord

Dark Lord

    I <3 Dia~

  • Elite Members
  • 2,987 posts
  • India 

Posted 18 March 2007 - 03:35 PM

Awesome!
Say this on GTAS first though.
Specially helps the stunters



Posted Image

 

“Do not spoil what you have by desiring what you have not;
remember that what you now have was once among the things you only hoped for.”
- Epicurus

Posted Image


#11 Jace

Jace

    Capo

  • Elite Members
  • 5,871 posts
  • Netherlands 

Posted 18 March 2007 - 03:38 PM

Nice :)
Especially for the stunting forum. Good one.

Posted Image

Courtesy to Connor


#12 jack_bauer

jack_bauer

    Numbers Runner

  • Members
  • PipPip
  • 122 posts
  • Indonesia 

Posted 19 March 2007 - 11:43 AM

hell yeahh
it's really an useful feature chris!
keep rockin' :ph34r:
Posted Image

#13 Wheelman101

Wheelman101

    Executioner

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,252 posts

Posted 21 March 2007 - 07:22 AM

LOL Chris82: yeah this map is identicle on both sides HHHHHhMMHMHM so yeah: LOL back away from the Mic a bit

Posted Image

hurr De Durr.


#14 K9 Krew

K9 Krew

    Powaful Impak.

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,142 posts

Posted 22 March 2007 - 11:18 AM

Hey Chris, sometimes i add a youtube video but it doesn't show up in my post what's up with that

Thanks for it by the way

Posted Image
Signature Made By MrLlamaLlama

I LOVE HIP HOP, AUSSIE HIP HOP, RAP, GANGSTA RAP, UK RAP, AND LATINO RAP.

BUT I HATE CRUNK AND ALL THAT DUUUURTTY SOUTH BULLSHIT MUSIC FULL OF WHISTLES AND WITH WHICH EVERY RAPPERS NAME STARTS WITH LIL'.

I ALSO DISLIKE TUPAC BUT I DO LIKE A COUPLE OF HIS ALBUMS



#15 TM™

TM™

    Need new model for avatar :P

  • Elite Members
  • 6,334 posts

Posted 22 March 2007 - 04:03 PM

Hey Chris, sometimes i add a youtube video but it doesn't show up in my post what's up with that

Thanks for it by the way


You have to add the Video code:

youtube.com/watch?v=dqYy-u6-22w

You add this code to the Youtube code:

dqYy-u6-22w

Now here is the code.

[youtube]dqYy-u6-22w[/youtube]

Now try it out...


Posted Image
TM™ - Elite.

#16 Chris

Chris

    Limbal Rings

  • Administrators
  • 10,967 posts

Posted 22 March 2007 - 04:33 PM

Hey Chris, sometimes i add a youtube video but it doesn't show up in my post what's up with that

Thanks for it by the way

You're an ignorant tool, you should have actually read the topic, and even Tommy Montana was kind enough to explain it in his post above, again. You just made a complete ass of yourself - I was waiting for someone to do that. Idiot. :D

#17 TM™

TM™

    Need new model for avatar :P

  • Elite Members
  • 6,334 posts

Posted 22 March 2007 - 05:18 PM

I'd also like something to add on about the Video Code:

Make sure that the owner allows the embed (Video Code) to be showed on the forum , because a error comes up showing this:

'The Owner of this video does not allow video embedding Please watch this video on Youtube.com'

The reason for this is because the Owner has disabled the Embedding, so really you can't watch it. So to make sure that if you don't want to end up with this little error again, look on the right hand side of the video clip, It will show EMBED So then you can copy the code at the end, if it shows this error:

Posted Image

This means that you cannot show the video on this site, or show the video embedding, make sure that you look at that FIRST, before you actually posted on the forum.
Posted Image
TM™ - Elite.

#18 Chris

Chris

    Limbal Rings

  • Administrators
  • 10,967 posts

Posted 22 March 2007 - 05:40 PM

Yeah that's a good point actually. Though I saw his post in question and he had put the full URL rather than the code, so my comment still applies.

#19 chris82

chris82

    Modding King

  • Elite Members
  • 2,917 posts

Posted 23 March 2007 - 04:58 AM

LOL Chris82: yeah this map is identicle on both sides HHHHHhMMHMHM so yeah: LOL back away from the Mic a bit


Yeah, GunGame maps are supposed to be identical on both sides. The GG mod is where players start with a glock and work their way up to an M249 machine gun by rushing and killing eachother.

And I was a fair distance from the mic!



Lawl.


Posted Image
Posted Image
Summary of TGTAP
This signature does not display correctly on Internet Explorer 6 or lower.


#20 Nate10

Nate10

    Underboss

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,965 posts

Posted 24 March 2007 - 01:11 AM

Sweet, can't wait to use it sometime.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users