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.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
User avatar
mrbfrequency
Registered User
Posts: 116
Joined: Sun May 05, 2013 4:13 am
Name: Mrinmoy Paul

Embedding youtube videos

Post by mrbfrequency »

How can i embed youtube videos to my posts??
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26887
Joined: Fri Aug 29, 2008 9:49 am

Re: Embedding youtube videos

Post by Mick »

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

Re: Embedding youtube videos

Post by mrbfrequency »

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 »

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: 72663
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Embedding youtube videos

Post by KevC »

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
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
User avatar
starshine1000
Registered User
Posts: 209
Joined: Mon Aug 11, 2014 10:05 am

Re: Embedding youtube videos

Post by starshine1000 »

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

Re: Embedding youtube videos

Post by mrbfrequency »

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

Re: Embedding youtube videos

Post by mrbfrequency »

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: 69228
Joined: Mon May 02, 2005 3:11 am

Re: Embedding youtube videos

Post by Lumpy Burgertushie »

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
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
starshine1000
Registered User
Posts: 209
Joined: Mon Aug 11, 2014 10:05 am

Re: Embedding youtube videos

Post by starshine1000 »

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

Re: Embedding youtube videos

Post by mrbfrequency »

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: 72663
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Embedding youtube videos

Post by KevC »

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
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
User avatar
starshine1000
Registered User
Posts: 209
Joined: Mon Aug 11, 2014 10:05 am

Re: Embedding youtube videos

Post by starshine1000 »

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: 72663
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Embedding youtube videos

Post by KevC »

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
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
Topknotch
Registered User
Posts: 21
Joined: Tue Nov 25, 2014 3:23 pm

Re: Embedding youtube videos

Post by Topknotch »

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 !!

Return to “[3.0.x] Support Forum”