Youtube bbcode customization

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
maxkinn
Registered User
Posts: 32
Joined: Sat Apr 23, 2011 1:16 am

Youtube bbcode customization

Post by maxkinn » Sat Apr 23, 2011 9:47 pm

Hi,
I have youtube video upload option on my forum,
but the problem is when I place a youtube link like

http://www.youtube.com/watch?v=g3D1yFHyjhE

it works but when I use link like

http://www.youtube.com/watch?v=g3D1yFHyjhE&feature=grec_index

the video doesn't get embedded, I don't want to use the youtube id since it is hard to grab for some users

Anyone have a solution? Help will be appreciated

Thanks in advance

User avatar
Solidjeuh
Registered User
Posts: 522
Joined: Wed Oct 06, 2010 11:20 pm
Location: Aalst / Belgium
Name: Andy Dm
Contact:

Re: Youtube bbcode customization

Post by Solidjeuh » Sun Apr 24, 2011 11:27 am

Why don't you just remove the end of the link everytime? :roll:

http://www.youtube.com/watch?v=g3D1yFHyjhE ( &feature=grec_index )
I don't suffer from insanity. I enjoy every minute of it.

maxkinn
Registered User
Posts: 32
Joined: Sat Apr 23, 2011 1:16 am

Re: Youtube bbcode customization

Post by maxkinn » Sun Apr 24, 2011 12:15 pm

Do you mean manually? if yes, how I gonna control all the users :cry:
if not, how can I remove that?
Solidjeuh wrote:Why don't you just remove the end of the link everytime? :roll:

http://www.youtube.com/watch?v=g3D1yFHyjhE ( &feature=grec_index )

User avatar
Solidjeuh
Registered User
Posts: 522
Joined: Wed Oct 06, 2010 11:20 pm
Location: Aalst / Belgium
Name: Andy Dm
Contact:

Re: Youtube bbcode customization

Post by Solidjeuh » Sun Apr 24, 2011 12:19 pm

maxkinn wrote:Do you mean manually? if yes, how I gonna control all the users :cry:
if not, how can I remove that?
Solidjeuh wrote:Why don't you just remove the end of the link everytime? :roll:

http://www.youtube.com/watch?v=g3D1yFHyjhE ( &feature=grec_index )
I don't think there is a way to do that..
Your users just have to use the good link..
Under the youtube video there is a button ( Share )
just tell your users to click on that button, and use that link :)
I don't suffer from insanity. I enjoy every minute of it.

User avatar
canadianlatitude
Registered User
Posts: 94
Joined: Sat Nov 17, 2007 11:13 am
Contact:

Re: Youtube bbcode customization

Post by canadianlatitude » Fri Apr 29, 2011 7:11 am

Your users just have to use the good link..
Under the youtube video there is a button ( Share )
But that link does not work anymore with the youtube tags.. since youtube changed their url at the bottom to http://youtu.be

User avatar
Sierron
Registered User
Posts: 241
Joined: Fri Apr 30, 2010 10:22 am
Location: Germany
Name: Artur
Contact:

Re: Youtube bbcode customization

Post by Sierron » Fri Apr 29, 2011 8:51 am

What is your youtube bbcode? Can you paste it?
Multilanguage TimeSplitters Site

If you need support, I suggest you to use the Support Request Template for your questions on this board. If you have some serious problems, the Support Toolkit can fix it (depends on the problem).

maxkinn
Registered User
Posts: 32
Joined: Sat Apr 23, 2011 1:16 am

Re: Youtube bbcode customization

Post by maxkinn » Sat Apr 30, 2011 4:39 pm

BBCode usage

[youtube]http://www.youtube.com/watch?v={SIMPLETEXT}[/youtube]

HTML Replacement

<object width="700" height="465"><param name="movie" value="http://www.youtube.com/v/{SIMPLETEXT}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{SIMPLETEXT}" type="application/x-shockwave-flash" wmode="transparent" width="700" height="465"></embed></object>

The link is http://www.youtube.com/watch?v=-mAEb7S0mhg&feature=topvideos_film
Sierron wrote:What is your youtube bbcode? Can you paste it?

User avatar
Sierron
Registered User
Posts: 241
Joined: Fri Apr 30, 2010 10:22 am
Location: Germany
Name: Artur
Contact:

Re: Youtube bbcode customization

Post by Sierron » Sun May 01, 2011 1:04 am

How about this way?

Code: Select all

[youtube]{URL}[/youtube]

Code: Select all

<object width="425" height="350"><param name="movie" value="{URL}"></param><embed src="{URL}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object><br /><a href="{URL}" target="_blank">Youtube</a><br />
Multilanguage TimeSplitters Site

If you need support, I suggest you to use the Support Request Template for your questions on this board. If you have some serious problems, the Support Toolkit can fix it (depends on the problem).

Locked

Return to “[3.0.x] Support Forum”