Embedding self hosted video in a post

Get help developing custom BBCodes or request one.
User avatar
tonzodehoo
Registered User
Posts: 153
Joined: Tue Feb 13, 2007 9:21 pm

Embedding self hosted video in a post

Post by tonzodehoo »

Hello, Its been a while since I've had to seek support.
This may seem like an obvious one but embedding video in a post does not appear to be functioning.
When posting on the forum then I have a few option to choose from as you can see from the attached image.

I was just checking a few posts with videos and have found that for some reason they don't load as I recall they had done before.

I just wanted to check what the most reliable extension is for posting video?

I have the media BBcode installed.
Screen Shot 2025-02-07 at 12.02.57.png
Image
I am running phpbb 3.3.11.

Any guidance or clarity would be most appreciated.

Many thanks.
You do not have the required permissions to view the files attached to this post.
Last edited by thecoalman on Fri Feb 07, 2025 5:14 pm, edited 1 time in total.
Reason: Moved to Custom BBCode Development and Requests
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6724
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Embedding self hosted video in a post

Post by thecoalman »

For third parties the media embed plugin which you have installed is the most reliable. If it's configured and working correctly you can just paste a URL from a supported site like Youtube, no BBcode required.

For self hosted video you can use a BBcode with the HTML video tag, there is probably a couple of topics in this forum about it. Note the video needs to be .mp4(h.264 encoding) or .webm for browser compatibility. Anything else is going to to be hit and miss, largely miss. If it's video on your server with .mp4 extension and not working either it's not h.264 encoded or the server is not sending correct mimetype. Also note .mp4 files uploaded as phpBB attachments use generic mimetype and the browser may not display it despite the video being compatible.

Your BBcodes are probably outdated and may not work. For Quicktime as an example Apple/browser support for that ended almost a decade ago. What you can do is change the HTML replacement so it displays as link. Uncheck "Display on posting page" so people don't try and use it anymore. Assuming it's valid link to a file the user can download from link and play on their machine with compatible player.

If you post you HTML usage and replacement they might be fixable to some degree or another.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
tonzodehoo
Registered User
Posts: 153
Joined: Tue Feb 13, 2007 9:21 pm

Re: Embedding self hosted video in a post

Post by tonzodehoo »

Thanks for this.

Are all those media BBcodes of no use now?

In the meantime I came across this https://www.phpbb.com/customise/db/exte ... 51#p892951 which works very well and is easy to set up.

Hopefully this resolves things for my immediate use but would like to tidy up the loose ends as to what BBcodes are still current and functional.

Best wishes.
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6724
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Embedding self hosted video in a post

Post by thecoalman »

You can check in phpMyadmin to see how often they are used.Edit in the BBcode for others.

Code: Select all

SELECT * FROM `phpbb_posts` WHERE `post_text` LIKE '%[/quicktime]%'; 
If it's just handful of them you can use post ID in the results to find them and manually edit. Just delete the BBcode once you are done.

The Quicktime one will definitely not work, as I already mentioned you can change the BBcode HTML replacement so it's just a link.

The vimeo one is supported by media plugin so you don't need that.
thecoalman wrote: Fri Feb 07, 2025 5:36 pm If you post your HTML usage and replacement they might be fixable to some degree or another.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
tonzodehoo
Registered User
Posts: 153
Joined: Tue Feb 13, 2007 9:21 pm

Re: Embedding self hosted video in a post

Post by tonzodehoo »

Thanks for this.

I shall et about checking what links require updating with the information you have given here.

Really appreciate you taking the time. Thanks for your support.
Best wishes.

Return to “Custom BBCode Development and Requests”