(REQ) Youtube BBCODE For vb 3.8.1

xblade_2k9

New Member
BBcode is very easy create manual:

For youtube:

Name: YouTube
Tag Name: youtube
Replace:

<object width="425" height="349"><param name="movie" value="http://www.youtube.com/v/{param}&hl=es&fs=1&rel=0&color1=0xe1600f&color2=0xfebd01&border=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/{param}&hl=es&fs=1&rel=0&color1=0xe1600f&color2=0xfebd01&border=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="349"></embed></object>

Example:

[youtube]JFwCCL0Vh6U[/youtube]

Use option: No
Image Buton: search any image for youtube 21x20
If Delete is White Label: Yes
Rest Options: No
 

Vital

New Member
thanks for this!

but any chance to alter the code, so that i can just post the full youtube link like this

[youtube]http://www.youtube.com/watch?v=123[/youtube]

would be much more convenient that way
 

xblade_2k9

New Member
Vital said:
thanks for this!

but any chance to alter the code, so that i can just post the full youtube link like this

[youtube]http://www.youtube.com/watch?v=123[/youtube]

would be much more convenient that way

using my code you only need this.

[youtube]123[/youtube]

for full youtube link try this:

Code:
<object width="425" height="349"><param name="movie" value="{param}&hl=es&fs=1&rel=0&color1=0xe1600f&color2=0xfebd01&border=1"></param><param name="allowFullScreen" value="true"></param><embed src="{param}&hl=es&fs=1&rel=0&color1=0xe1600f&color2=0xfebd01&border=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="349"></embed></object>
 

Arkanoidblue

New Member
ok, this method put button HD mode visible to click.


Code:
<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/{param}" width="644" height="390"><param name="movie" value="http://www.youtube.com/v/{param}" />BORKED</object>


I searched for a decent YouTube BBCode tag here, but every single one of them uses the embed tag, which is an illegal XHTML tag.

I set out to find a way to create a W3C-compliant YouTube BBCode tag, and this is what you see here.

Note that the text "BORKED" is displayed when the YouTube video can't be displayed (it's the equivalent of the HTML img tag's alt attribute).

Obviously feel free to change this to whatever alternate text you want.
 

mafiaen.dk

New Member
How can you make a bottom at the panel when you write a post, soo when you press that there is a pop-up where you can write the youtube URL....just like when you put a link in
 

Ryan456

New Member
Is there one like if you just post a youtube link without a BBcode and the link turns into the youtube player?
 

me50

New Member
wth happened when i click play video it says embedded code disabled by request.

any help!
 
Top