Jump to content


New YouTube BBCODE


  • Please log in to reply
6 replies to this topic

#1 brewin

brewin

    Victory is mine!

  • Administrator
  • PipPipPipPipPip
  • 1,262 posts
  • Location:Missouri
  • Interests:Anything interesting.
  • Country:USA

Posted 16 August 2007 - 11:56 PM

It's now possible to embed YouTube videos in a post. The usual forum rules apply. If you aren't sure if it should be posted, then it probably shouldn't be. Videos posted should be on topic unless the topic is random YouTube videos. In which case it's kind of hard to be off topic, isn't it?

Just put the YouTube vidID between youtube tags. The vidID is in the YouTube URL.

[youtube]sWfi9NTxyOU[/youtube]
becomes...


#2 Nvyseal

Nvyseal

    Chairman of the Board

  • Administrator
  • PipPipPipPipPipPip
  • 9,824 posts
  • Location:From the whatever it is, Pluto
  • Country:USA

Posted 17 August 2007 - 12:07 AM

Thanks brew for adding this!! :Laie_56:

Thanks Banj0 for suggesting it. Lets hope it works out! :(

#3 Sphere

Sphere

    The moth next to my brain is Bart, say hi to him if you like

  • Sponsor
  • PipPipPipPipPip
  • 2,355 posts
  • Location:*tap* Behind ya!
  • Interests:I'm a Dutchy, that means I'm not a German (which doesn't sound/look the same to me!) also, being a Dutchy means I'm an idiot... sort off!

    And I def. need to get a real life again... I'm bored with my current life, ideas can be pm'd to me!
  • Country:Dutchyland

Posted 17 August 2007 - 01:02 AM

Can you give me the code which replaces the [ ] code with the youtube embed code?

I've been trying to code it myself, but I run into a problem....

#4 brewin

brewin

    Victory is mine!

  • Administrator
  • PipPipPipPipPip
  • 1,262 posts
  • Location:Missouri
  • Interests:Anything interesting.
  • Country:USA

Posted 17 August 2007 - 01:29 AM

View PostSphere, on Aug 16 2007, 08:02 PM, said:

Can you give me the code which replaces the [ ] code with the youtube embed code?

I've been trying to code it myself, but I run into a problem....
That part is built into IPB. I didn't write it. I just added a template for youtube videos.

[youtube]{content}[/youtube]

<embed src="http://www.youtube.com/v/{content}" type="application/x-shockwave-flash" width="425" height="350"></embed>


#5 Sphere

Sphere

    The moth next to my brain is Bart, say hi to him if you like

  • Sponsor
  • PipPipPipPipPip
  • 2,355 posts
  • Location:*tap* Behind ya!
  • Interests:I'm a Dutchy, that means I'm not a German (which doesn't sound/look the same to me!) also, being a Dutchy means I'm an idiot... sort off!

    And I def. need to get a real life again... I'm bored with my current life, ideas can be pm'd to me!
  • Country:Dutchyland

Posted 17 August 2007 - 01:57 AM

Well, you just solved my problem :Laie_56:

if you copy-paste the youtube embed code, you'll notice the actual movie-code is in there twice, which was where I ran stuck.

But, you've just simplified and even solved my problem, thanks a load!!!!!

#6 m.oreilly

m.oreilly

    rog'er wilco

  • Admin
  • PipPipPipPipPipPip
  • 8,864 posts
  • Country:lower uncton

Posted 17 August 2007 - 02:28 AM

very cool guys, very cool :Laie_56:

#7 banj0

banj0

    American Idle

  • Sponsor
  • PipPipPipPipPip
  • 1,537 posts
  • Location:Detroit
  • Country:States

Posted 17 August 2007 - 05:16 AM

Cool. Thx guys. :Laie_56:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users