Embedding youtube videos

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
User avatar
mrbfrequency
Registered User
Posts: 116
Joined: Sun May 05, 2013 4:13 am
Name: Mrinmoy Paul
Contact:

Embedding youtube videos

Post by mrbfrequency » Fri Aug 15, 2014 7:40 am

How can i embed youtube videos to my posts??

User avatar
Mick
Support Team Member
Support Team Member
Posts: 21586
Joined: Fri Aug 29, 2008 9:49 am
Location: Caerdydd

Re: Embedding youtube videos

Post by Mick » Fri Aug 15, 2014 7:52 am

Have a look in Custom BBCode Development and Requests there are a couple of different BBCodes that handle YouTube videos.
"The more connected we get the more alone we become" - Kyle Broflovski

User avatar
mrbfrequency
Registered User
Posts: 116
Joined: Sun May 05, 2013 4:13 am
Name: Mrinmoy Paul
Contact:

Re: Embedding youtube videos

Post by mrbfrequency » Fri Aug 15, 2014 9:29 am

Mick wrote:Have a look in Custom BBCode Development and Requests there are a couple of different BBCodes that handle YouTube videos.
I have tried some of them but they are not working.

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Embedding youtube videos

Post by Oyabun1 » Fri Aug 15, 2014 10:02 am

Then try some more.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69364
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Embedding youtube videos

Post by KevC » Fri Aug 15, 2014 10:07 am

You have to use them in the exact way they explain they should be used.

For instance, if it says it accepts just the ID then that's the only bit you put between the tags. Adding http://www.youtube.... to the link will not work. Likewise if it's set up for the URL you need to give it the kind it's after and that comes down to youtube.com being different to youtu.be as well.

You need to check what it's specifically telling you the format of the link has to be.
-:|:- 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
starshine1000
Registered User
Posts: 209
Joined: Mon Aug 11, 2014 10:05 am

Re: Embedding youtube videos

Post by starshine1000 » Fri Aug 15, 2014 2:33 pm

This was actually pretty easy for me. Took 5 mins.
Hang in there and follow the instructions closely.
I tested it and it worked.

Basically you are making a small modification to the bespoke BB code.
It's very clearly documented. Have you seen the documentation?

My only complaint is that the Button for the bbcode says "youtube" instead of "YouTube"
I can't figure out how to change it, but I thought it wasn't worth wasting time on.

Image

User avatar
mrbfrequency
Registered User
Posts: 116
Joined: Sun May 05, 2013 4:13 am
Name: Mrinmoy Paul
Contact:

Re: Embedding youtube videos

Post by mrbfrequency » Fri Aug 15, 2014 6:00 pm

KevC wrote:You have to use them in the exact way they explain they should be used.

For instance, if it says it accepts just the ID then that's the only bit you put between the tags. Adding http://www.youtube.... to the link will not work. Likewise if it's set up for the URL you need to give it the kind it's after and that comes down to youtube.com being different to youtu.be as well.

You need to check what it's specifically telling you the format of the link has to be.
I have followed the exact instructions but still no results.

User avatar
mrbfrequency
Registered User
Posts: 116
Joined: Sun May 05, 2013 4:13 am
Name: Mrinmoy Paul
Contact:

Re: Embedding youtube videos

Post by mrbfrequency » Fri Aug 15, 2014 6:01 pm

starshine1000 wrote:This was actually pretty easy for me. Took 5 mins.
Hang in there and follow the instructions closely.
I tested it and it worked.

Basically you are making a small modification to the bespoke BB code.
It's very clearly documented. Have you seen the documentation?

My only complaint is that the Button for the bbcode says "youtube" instead of "YouTube"
I can't figure out how to change it, but I thought it wasn't worth wasting time on.

Image
Can you tell me the procedure?? plez

User avatar
Lumpy Burgertushie
Registered User
Posts: 66740
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Embedding youtube videos

Post by Lumpy Burgertushie » Fri Aug 15, 2014 7:08 pm

we need more info than simply " I tried some of them but they didn't work".

what does that mean?
which ones did you try?
exactly what do you have in the bbcode section for them?

etc. etc.

need more input


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
starshine1000
Registered User
Posts: 209
Joined: Mon Aug 11, 2014 10:05 am

Re: Embedding youtube videos

Post by starshine1000 » Fri Aug 15, 2014 7:19 pm

mrbfrequency wrote: Can you tell me the procedure?? plez
Did you read the documentation? I just googled for phpbb 3 youtube and filtered for 1 year results.

Open Posting > BBCodes
Copied and pasted the code and it looks like this when it's finished:

Field 1: [youtube]{TEXT1}youtube.com/watch?v={IDENTIFIER}{TEXT2}[/youtube]
Field 2: <iframe width="560" height="315" src="//www.youtube.com/embed/{IDENTIFIER}" frameborder="0" allowfullscreen></iframe>

Click on this link to see the full pic
https://camo.phpbb.com/415dabf249910f4be9805f6cac9bd0d40bd5e3fa/687474703a2f2f696d616765732e76666c2e72752f69692f313430383133303236312f32326438653065632f363031323134362e706e67

Image

User avatar
mrbfrequency
Registered User
Posts: 116
Joined: Sun May 05, 2013 4:13 am
Name: Mrinmoy Paul
Contact:

Re: Embedding youtube videos

Post by mrbfrequency » Sat Aug 16, 2014 4:47 am

starshine1000 wrote:
mrbfrequency wrote: Can you tell me the procedure?? plez
Did you read the documentation? I just googled for phpbb 3 youtube and filtered for 1 year results.

Open Posting > BBCodes
Copied and pasted the code and it looks like this when it's finished:

Field 1: [youtube]{TEXT1}youtube.com/watch?v={IDENTIFIER}{TEXT2}[/youtube]
Field 2: <iframe width="560" height="315" src="//www.youtube.com/embed/{IDENTIFIER}" frameborder="0" allowfullscreen></iframe>

Click on this link to see the full pic
https://camo.phpbb.com/415dabf249910f4be9805f6cac9bd0d40bd5e3fa/687474703a2f2f696d616765732e76666c2e72752f69692f313430383133303236312f32326438653065632f363031323134362e706e67

Image
Surprisingly, this one worked just fine.. Many many thanks.

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69364
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Embedding youtube videos

Post by KevC » Sat Aug 16, 2014 3:44 pm

starshine1000 wrote: My only complaint is that the Button for the bbcode says "youtube" instead of "YouTube"
I can't figure out how to change it, but I thought it wasn't worth wasting time on.
It's whatever you've called the code tag.

Change the first box code from [youtube] to [YouTube] and the same for the close tag.
-:|:- 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
starshine1000
Registered User
Posts: 209
Joined: Mon Aug 11, 2014 10:05 am

Re: Embedding youtube videos

Post by starshine1000 » Sat Aug 16, 2014 4:07 pm

KevC wrote:
starshine1000 wrote: My only complaint is that the Button for the bbcode says "youtube" instead of "YouTube"
I can't figure out how to change it, but I thought it wasn't worth wasting time on.
It's whatever you've called the code tag.

Change the first box code from [youtube] to [YouTube] and the same for the close tag.

Oh! Right :) Yes that looks MUCH nicer, thanks a lot Kev!

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69364
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Embedding youtube videos

Post by KevC » Sat Aug 16, 2014 6:05 pm

mrbfrequency wrote:
Surprisingly, this one worked just fine.. Many many thanks.
They all work just fine if you give them what they're asking for.

You didn't say which ones did not work and what you were actually posting between the code tags so we have no way of telling you why.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

Topknotch
Registered User
Posts: 21
Joined: Tue Nov 25, 2014 3:23 pm

Re: Embedding youtube videos

Post by Topknotch » Fri Jun 05, 2015 4:32 pm

Did you read the documentation? I just googled for phpbb 3 youtube and filtered for 1 year results.

Open Posting > BBCodes
Copied and pasted the code and it looks like this when it's finished:

Field 1: [youtube]{TEXT1}youtube.com/watch?v={IDENTIFIER}{TEXT2}[/youtube]
Field 2: <iframe width="560" height="315" src="//www.youtube.com/embed/{IDENTIFIER}" frameborder="0" allowfullscreen></iframe>
Worked great for me thank you !!

Locked

Return to “[3.0.x] Support Forum”