Youtube Full URL BBCode

Get help developing custom BBCodes or request one.
User avatar
tunescool
I've Been Banned!
Posts: 1061
Joined: Mon Jul 06, 2009 5:08 pm
Contact:

Youtube Full URL BBCode

Post by tunescool »

is there a mod or a way to get the bbcode to use the full url of youtubes
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70067
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Youtube Full URL BBCode

Post by KevC »

In the video section just above where you've posted.
https://www.phpbb.com/customise/db/bbcode/youtube/
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
User avatar
tunescool
I've Been Banned!
Posts: 1061
Joined: Mon Jul 06, 2009 5:08 pm
Contact:

Re: Youtube Full URL BBCode

Post by tunescool »

it doesnt work, the bbcode and the url just show in the post

Code: Select all

[youtube]{IDENTIFIER}://youtu.be/{SIMPLETEXT}[/youtube]

Code: Select all

<iframe width="560" height="315" src="{IDENTIFIER}://www.youtube.com/embed/{SIMPLETEXT}" frameborder="0" allowfullscreen></iframe>
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70067
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Youtube Full URL BBCode

Post by KevC »

Neither of those are from the full URI link at the bottom of that page I linked.

Post a screenshot of your BBcode page and a topic you've used it in.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
User avatar
tunescool
I've Been Banned!
Posts: 1061
Joined: Mon Jul 06, 2009 5:08 pm
Contact:

Re: Youtube Full URL BBCode

Post by tunescool »

i copied it from that page
Attachments
by default 2013-10-19 at 8.38.30 AM.jpg
by default 2013-10-19 at 8.38.30 AM.jpg (72.08 KiB) Viewed 1766 times
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70067
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Youtube Full URL BBCode

Post by KevC »

The full URL code is at the bottom of that page I linked.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
User avatar
Lumpy Burgertushie
Registered User
Posts: 67986
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Youtube Full URL BBCode

Post by Lumpy Burgertushie »

the full url of a youtube video is like this;
http://www.youtube.com/watch?v=tBF0YllXKEk

what you are showing is the iframe embed code which is the best one to use and is done like this:
bbcode:

Code: Select all

[youtube]{TEXT}embed/{IDENTIFIER}{TEXT2}[/youtube]
replacement:

Code: Select all

<iframe width="420" height="315" src="http://www.youtube.com/embed/{IDENTIFIER}" frameborder="2"></iframe>
help line:

Code: Select all

[youtube]copy and paste the iframe embed code here[/youtube]
robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
User avatar
tunescool
I've Been Banned!
Posts: 1061
Joined: Mon Jul 06, 2009 5:08 pm
Contact:

Re: Youtube Full URL BBCode

Post by tunescool »

Kevin Clark wrote:The full URL code is at the bottom of that page I linked.
theyre the same thing, what am i missing
Attachments
by default 2013-10-19 at 11.42.05 AM.jpg
by default 2013-10-19 at 11.42.05 AM.jpg (125.19 KiB) Viewed 1671 times
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70067
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Youtube Full URL BBCode

Post by KevC »

Below that bit.
It says full URI
Attachments
Screen Shot 2013-10-19 at 17.55.08.png
Screen Shot 2013-10-19 at 17.55.08.png (85.04 KiB) Viewed 1660 times
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
User avatar
tunescool
I've Been Banned!
Posts: 1061
Joined: Mon Jul 06, 2009 5:08 pm
Contact:

Re: Youtube Full URL BBCode

Post by tunescool »

i still get the bbcode and url in the post
Attachments
by default 2013-10-19 at 12.11.14 PM.jpg
by default 2013-10-19 at 12.11.14 PM.jpg (97.84 KiB) Viewed 1644 times
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70067
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Youtube Full URL BBCode

Post by KevC »

Post a screenshot of what you're seeing in the topic.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
User avatar
tunescool
I've Been Banned!
Posts: 1061
Joined: Mon Jul 06, 2009 5:08 pm
Contact:

Re: Youtube Full URL BBCode

Post by tunescool »

by default 2013-10-19 at 12.23.51 PM.jpg
by default 2013-10-19 at 12.23.51 PM.jpg (41.18 KiB) Viewed 1629 times
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70067
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Youtube Full URL BBCode

Post by KevC »

You're not using the youtube text that the bbcode wants.

The BBcode says
[youtube]{IDENTIFIER}://{SIMPLETEXT1}youtube.com/watch?v={SIMPLETEXT2}[/youtube]

You've got
feature=player_embed&
as part of the URL you've posted.

It just needs to be what the BBcode is asking for
http://www.youtube.com/watch?v= followed by the unique ID code for that video.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
User avatar
tunescool
I've Been Banned!
Posts: 1061
Joined: Mon Jul 06, 2009 5:08 pm
Contact:

Re: Youtube Full URL BBCode

Post by tunescool »

that works, but i just want my members and me to be able to copy the url from the video and not have to do anything else. is there anyway to do that, i searched a couple days ago but all i could find was posts saying we need to be able to post the full url and got sick of looking
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70067
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Youtube Full URL BBCode

Post by KevC »

The problem is that youtube uses at least 3 or 4 different types of URL.

The only way to eliminate those variations is to use the unique identifier code. Then you just paste in the 8-10 characters at the end.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
Post Reply

Return to “Custom BBCode Development and Requests”