Is it Possible to embed MP4 attachment in post?

Get help developing custom BBCodes or request one.
Post Reply
Registered User
Posts: 448
Joined: Wed Jan 27, 2016 5:58 pm

Is it Possible to embed MP4 attachment in post?

Post by aeneas1 » Fri Aug 03, 2018 8:28 pm

uploading an mp4 file from my pc as a post attachment works fine, as does adding it to a post (place inline), but the result is a clickable link rather than the actual video being displayed in full... is there a way to get it to display in full, the way that youtube and vimeo vids display? thanks very much!

User avatar
John connor
Registered User
Posts: 1904
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A

Re: Is it Possible to embed MP4 attachment in post?

Post by John connor » Sat Aug 04, 2018 10:15 am

There is, but you need Advanced BBCode Box and the BBcode. ... bcode_box/

BBcode Usage:

Code: Select all

HTML Replacement:

Code: Select all

<video src="{URL}" controls> Your browser does not support the <code>video</code>element.</video>
Help line text:

Code: Select all

In order to use this though you have to upload the video to your FTP files or images directory. So if your website is, it would be

So this means others really can't use this code unless they use their own FTP.

Edit - You don't need Advanced BBCode Box. But it does add many features.
Last edited by Mick on Sat Aug 04, 2018 12:33 pm, edited 1 time in total.
Reason: Changed [c] tag to [code] tags for readability.

User avatar
Galixte de EzCom
Registered User
Posts: 973
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.

Re: Is it Possible to embed MP4 attachment in post?

Post by Galixte de EzCom » Sun Aug 05, 2018 6:30 am

This BBCode HTML5 video doesn’t work anymore with MP4 as attachment files on Chrome & Opera but works with Firefox.

It seems it’s because the link isn’t terminated by *.mp4 but I’m not sure.

Anyone know why? I didn’t find any information about changes in these browsers.
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.x ».
📋 Lists of all extensions identified for phpBB 3.1.x & 3.2.x.
📋 Lists of all styles identified for phpBB 3.1.x & 3.2.x.
Image Tu as un forum et tu veux aussi un site web ? Regarde par ici.

Post Reply

Return to “Custom BBCode Development and Requests”

Who is online

Users browsing this forum: No registered users and 6 guests