BBCodes for embedding youtube videos

Get help developing custom BBCodes or request one.
Post Reply
User avatar
Dzien Dobry
Registered User
Posts: 614
Joined: Thu Nov 08, 2001 3:55 pm

BBCodes for embedding youtube videos

Post by Dzien Dobry »

I've had my phpBB for a long time. I recall using someone's code that enabled me to embed a youtube video that started with either http:// or https://. Now, only the youtube videos with links that begin with https:// can see seen on my pages. Is it possible to modify the BBCode once again so that all the embedded youtube videos at my site will appear and play as https:// even though they were originally posted as http://? Or do I have to go through and edit every post that has an invisible youtube video and change http:// to https://?

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4458
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: BBCodes for embedding youtube videos

Post by HiFiKabin »

To receive extension support please visit our Extensions Database and post in the specific extension's designated support area. The link to the support area for each released extension is also available in the first post of each released extension listed in the [3.2.x] Extension Database Releases forum. For extensions still in development (not recommended for a live board) support is in that extensions's topic in the Extensions in Development forum.

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51107
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: BBCodes for embedding youtube videos

Post by stevemaury »

What is your version of phpBB?
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

User avatar
Dzien Dobry
Registered User
Posts: 614
Joined: Thu Nov 08, 2001 3:55 pm

Re: BBCodes for embedding youtube videos

Post by Dzien Dobry »

stevemaury wrote:
Wed Dec 25, 2019 2:14 pm
What is your version of phpBB?
I'm running the latest version: 3.2.8.

User avatar
warmweer
Jr. Extension Validator
Posts: 4008
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: BBCodes for embedding youtube videos

Post by warmweer »

Dzien Dobry wrote:
Wed Dec 25, 2019 4:28 am
Or do I have to go through and edit every post that has an invisible youtube video and change http:// to https://?
You could look at the posts_table; compare the links with http:// to those with https:// and do a search and replace. (always backup the table before editing anything. If you are new to editing the databse directly then backup the whole database just in case - and while editing put your board offline).
We should embrace problems, without which there wouldn't be any solutions.

User avatar
mrgoldy
Registered User
Posts: 1309
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs
Contact:

Re: BBCodes for embedding youtube videos

Post by mrgoldy »

What has changed that made it stop working?
Did you (un)install an extension, did you modify any settings in the ACP, did you alter the BBCode?

And it would also help to post the BBCode you're using.

Moreover, it's worth looking into media embed, an official extension by the phpBB Extensions team that also embeds any media links, such as YouTube.

Post Reply

Return to “Custom BBCode Development and Requests”