[SPLIT] Play video attachment ?

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Ideas Centre
User avatar
MiBBS
Registered User
Posts: 13
Joined: Mon Nov 27, 2023 6:38 pm
Location: Michigan, USA

[SPLIT] Play video attachment ?

Post by MiBBS »

I have the media extension installed, but I cannot seem to be able to link direct to .mp3 or .mp4 files and have them play. Is there any further information about how to allow a user to link to a .mp3 or .mp4 file and have it be embedded for play?

Works great for youtube video urls.

Thank you.
Last edited by HiFiKabin on Thu Nov 30, 2023 10:11 am, edited 2 times in total.
Reason: split from https://www.phpbb.com/community/viewtopic.php?t=2648224
Bruce Banner
Registered User
Posts: 1372
Joined: Thu Sep 25, 2014 10:36 am

Re: Play video attachment ?

Post by Bruce Banner »

https://www.phpbb.com/customise/db/exte ... bcode_box/

In the settings of the above extension, there's an option that says

Code: Select all

Enable Auto Video PlugIn:
This plugin converts plain-text video file URLs into playable videos. Only URLs starting with http:// or https:// and ending with .mp4, .ogg or .webm are converted.
For audio attachments, there's the below extension.

https://www.phpbb.com/customise/db/exte ... dioplayer/

For video attachments, I created an extension based on this one that I'll PM you.
User avatar
MiBBS
Registered User
Posts: 13
Joined: Mon Nov 27, 2023 6:38 pm
Location: Michigan, USA

Re: Play video attachment ?

Post by MiBBS »

Nice! .. I will be checking this out in a few moments.

Does, by chance, this bbc extension allow urls/links that are posted in posts to open in a new window also? That would be triple bonus. I hate to install an extension just to allow anyone that posts a link to open in a new window, like it should be already.

It's quite annoying to see a good post with a good link and have it open in the same window and then have to find your way back to the forum.

Thank you Bruce Banner!
Bruce Banner
Registered User
Posts: 1372
Joined: Thu Sep 25, 2014 10:36 am

Re: Play video attachment ?

Post by Bruce Banner »

MiBBS wrote: Mon Nov 27, 2023 11:07 pm
The Advanced BBCode Box extension won't open links in a new window. I'll PM you another extension you can use for that.
Floyd
Registered User
Posts: 189
Joined: Tue Sep 03, 2013 10:16 am

Re: Play video attachment ?

Post by Floyd »

MiBBS wrote: Mon Nov 27, 2023 11:07 pm Nice! .. I will be checking this out in a few moments.

Does, by chance, this bbc extension allow urls/links that are posted in posts to open in a new window also? That would be triple bonus. I hate to install an extension just to allow anyone that posts a link to open in a new window, like it should be already.

It's quite annoying to see a good post with a good link and have it open in the same window and then have to find your way back to the forum.
The Advanced BBCode Box extension will display content directly within the post. This works for many different sites, e.g., YouTube, Amazon, NPR, Google Docs, and others.
Entropy is maintenance free.
User avatar
MiBBS
Registered User
Posts: 13
Joined: Mon Nov 27, 2023 6:38 pm
Location: Michigan, USA

Re: Play video attachment ?

Post by MiBBS »

Floyd wrote: Thu Nov 30, 2023 7:03 am
MiBBS wrote: Mon Nov 27, 2023 11:07 pm Nice! .. I will be checking this out in a few moments.

Does, by chance, this bbc extension allow urls/links that are posted in posts to open in a new window also? That would be triple bonus. I hate to install an extension just to allow anyone that posts a link to open in a new window, like it should be already.

It's quite annoying to see a good post with a good link and have it open in the same window and then have to find your way back to the forum.
The Advanced BBCode Box extension will display content directly within the post. This works for many different sites, e.g., YouTube, Amazon, NPR, Google Docs, and others.
Nice to know that information, Floyd, thanks!

So with that said, where does that leave the phpBB Media Embed extension? Will they [Advanced BBC Code and phpBB Media Embed extension] conflict with each other? Can I just remove the phpBB Media Embed extension? I also have made additional .yml files to allow for other sites embed code to play video within the phpBB Media Embed extension, so, what about that?

The advanced bbc code though, I must say, is pretty great! But, kinda sad that what ever link is included in a post will not open in a new window, though. Yet another extension to add just for a simple target="_blank" function. :(

I like to use the least amount of extensions as possible, wherever possible, period. ;)

Thank you.
Last edited by MiBBS on Thu Nov 30, 2023 8:27 am, edited 5 times in total.
User avatar
warmweer
Jr. Extension Validator
Posts: 11467
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Play video attachment ?

Post by warmweer »

Floyd wrote: Thu Nov 30, 2023 7:03 am ...
The Advanced BBCode Box extension will display content directly within the post. This works for many different sites, e.g., YouTube, Amazon, NPR, Google Docs, and others.
I think you're confusing the ABBC extension with the phpBB Media Embed extension.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
MiBBS
Registered User
Posts: 13
Joined: Mon Nov 27, 2023 6:38 pm
Location: Michigan, USA

Re: Play video attachment ?

Post by MiBBS »

warmweer wrote: Thu Nov 30, 2023 7:48 am
Floyd wrote: Thu Nov 30, 2023 7:03 am ...
The Advanced BBCode Box extension will display content directly within the post. This works for many different sites, e.g., YouTube, Amazon, NPR, Google Docs, and others.
I think you're confusing the ABBC extension with the phpBB Media Embed extension.
I'm not so sure of that, yet, I am new and I don't know much. But what I do know is that after I installed the ABBC extension, whenever I link to a .mp4 file, it just embeds and plays. Where as before with just the media embed extension it would not do that.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26703
Joined: Fri Aug 29, 2008 9:49 am

Re: Play video attachment ?

Post by Mick »

Did you see this?
Mick wrote: Sun Nov 26, 2023 9:00 amIf you specifically mean attached videos there’s a third party extension here, you will need to register to gain access to the extension
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel©
🇬🇧
User avatar
MiBBS
Registered User
Posts: 13
Joined: Mon Nov 27, 2023 6:38 pm
Location: Michigan, USA

Re: Play video attachment ?

Post by MiBBS »

Mick wrote: Thu Nov 30, 2023 8:05 am Did you see this?
Mick wrote: Sun Nov 26, 2023 9:00 amIf you specifically mean attached videos there’s a third party extension here, you will need to register to gain access to the extension. Remember there is no support for third party extensions here.
I would not want to allow a user to post a video as an attachment. I would rather them just link to a .mp4, ogg or whatever they got to lessen my storage and bw usage.

However, I have seen that site, phpbbstudio.com recently. I would like to know more about being able to embed video games with it, if that is an option. I want video games on my forum, heck yaeh! I have missle command, but its just links externally to the game page on some other site.
Last edited by MiBBS on Thu Nov 30, 2023 8:20 am, edited 2 times in total.
User avatar
warmweer
Jr. Extension Validator
Posts: 11467
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Play video attachment ?

Post by warmweer »

MiBBS wrote: Thu Nov 30, 2023 7:54 am ...
I'm not so sure of that, yet, I am new and I don't know much. But what I do know is that after I installed the ABBC extension, whenever I link to a .mp4 file, it just embeds and plays. Where as before with just the media embed extension it would not do that.
Apologies: you're right

ABBC features:
Embed video and rich content in your posts with the BBvideo BBCode (enhanced support if phpBB Media Embed PlugIn is co-installed)
Enable Auto Video PlugIn:
This plugin converts plain-text video file URLs into playable videos. Only URLs starting with http:// or https:// and ending with .mp4, .ogg or .webm are converted.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26703
Joined: Fri Aug 29, 2008 9:49 am

Re: Play video attachment ?

Post by Mick »

MiBBS wrote: Thu Nov 30, 2023 8:14 amI would not want to allow a user to post a video as an attachment
but the topic title says different, I realise this wasn’t you’re topic in the first place.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel©
🇬🇧
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6731
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [SPLIT] Play video attachment ?

Post by HiFiKabin »

Split to (hopefully) avoid future confusion.

If you have a question about Media Embed, please post in the relevant support topic. If your question is regarding something else, please can you make it clearer as this topic has become somewhat confusing.

Thanks
Floyd
Registered User
Posts: 189
Joined: Tue Sep 03, 2013 10:16 am

Re: Play video attachment ?

Post by Floyd »

Floyd wrote: Thu Nov 30, 2023 7:03 amThe Advanced BBCode Box extension will display content directly within the post. This works for many different sites, e.g., YouTube, Amazon, NPR, Google Docs, and others.
If you want a link in your post instead of the content, then just put [url][/url] tags around it.
Entropy is maintenance free.

Return to “Extension Requests”