[CDB] Official Extension: Media Embed PlugIn

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4708
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

[CDB] Official Extension: Media Embed PlugIn

Post by VSE » Wed Sep 14, 2016 8:08 am

Extension Name: phpBB Media Embed PlugIn
Author: phpBB Extension Development Team

Extension Description: This extension enables a library included with phpBB 3.2 that allows video and audio content from lots of 3rd-party sites to be embedded in forum posts and PMs, using a [media] BBCode, or from simply posting a supported URL in plain text.

This extension is similar to s9e/mediaembed - Embed videos and third-party content without a single BBCode, the difference being this version is for phpBB 3.2 and above (the version by JoshyPHP) works for phpBB 3.1.

This extension is still in early development, and features may be added or removed as we develop it. Your feedback can help us develop it to its full potential. ;)

Extension Version: 1.0.0-RC1

Requirements: phpBB 3.2.0

Planned Features: (subject to change)
  • ✔️ Parse URLs from media sites.
  • ✔️ Parse URLs from media sites inside the [media] tag.
  • ✔️ Add a new (optional) BBCode button for the [media] tag.
  • ✔️ Add help for embedding media content to the BBCodes Help/FAQ page.
  • ✔️ An ACP component where admins can enable/disable the supported sites, giving them control over which sites will be allowed to show embedded content. Also the option to display the [media] BBCode button in posting editors or not.
  • ✔️ Option to prevent usage inside user signatures.
Extension Download: https://github.com/phpbb-extensions/med ... /1.0.0-RC1

Extension Repository: https://github.com/phpbb-extensions/mediaembed

Usage: There are configuration settings in the ACP -> Posting -> Media Embed.

Please note that support for the embedded content, as well as the available sites supported, is handled by the s9e/TextFormatter library...not by phpBB nor this extension. So any issues arising from site content failing to embed properly is beyond the control of this extension and phpBB and its developers, and should be directed towards the developers at s9e.

The following is a list of all the sites currently supported, and examples of the URLs supported from each site: http://s9etextformatter.readthedocs.io/ ... bed/Sites/

Screenshot:
medemo.jpg

Conflicts: Existing video site BBCodes with the same name as a media site ID name (i.e. youtube). If you already have one of these, then your existing BBCode will take precedence over the one in this plugin. You may continue using your old BBCode but this plugin will ignore any links from that site. You can delete your old BBCode if you want this plugin to handle links from that site. After you delete your old BBCode you must go to Media Embed -> Manage Sites and enable the site. (Note that by deleting the old BBCode your old posts may no longer render the videos and will display the deleted BBCode tags as text. Experiment with this on a local offline backup of your board first.)
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

User avatar
3Di
Registered User
Posts: 13128
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [DEV][3.2] Official Extension: Media Embed PlugIn

Post by 3Di » Thu Sep 15, 2016 2:33 am

Good idea.

I did read the Topic related @area51, so there are not any plans this to be shipped within the core code for now?
It seems to me it should, IMO.

edit: https://area51.phpbb.com/phpBB/viewtopi ... 46#p295046 ;)

Anyway, your job here is welcomed. Thanks. :)
:game_die: The new Dice Roller extension for phpBB 3.2 is out! :game_die:

Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
JoshyPHP
Code Contributor
Posts: 972
Joined: Mon Jul 11, 2011 12:28 am

Re: [DEV][3.2] Official Extension: Media Embed PlugIn

Post by JoshyPHP » Thu Sep 15, 2016 3:14 am

VSE wrote:So any issues arising from site content failing to embed properly is beyond the control of this extension and phpBB and its developers, and should be directed towards the developers at s9e.
I'd rather you handle support requests related to this extension, and if some site definitions need to be updated you can kick it to me. Do note that you can always use your own site definitions, add your own or modify those that are bundled with the library. Also note that while the library's site defintions are frequently updated, the version bundled with phpBB is not. There is a good chance that a site that does not currently work in phpBB would work with the latest definitions from the s9e\TextFormatter repository.
I wrote the thing that does BBCodes in 3.2.

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4708
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [DEV][3.2] Official Extension: Media Embed PlugIn

Post by VSE » Thu Sep 15, 2016 6:52 am

3Di wrote: so there are not any plans this to be shipped within the core code for now?
It seems to me it should, IMO.
Well as you could see in that topic, I kept trying to make the case for that.

Even if it isn't added to the core of phpBB itself, it's not at all outside the realm of possibility that it would become an extension that is packaged/released with phpBB, if it becomes a popular enough extension.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

Cin-
Registered User
Posts: 57
Joined: Fri Feb 06, 2015 2:06 pm

Re: [DEV][3.2] Official Extension: Media Embed PlugIn

Post by Cin- » Mon Nov 28, 2016 12:52 pm

I'm currently testing this on a migrated board (running phpBB 3.2-RC2, from github today) with the most recent version of the mediaembed plugin.

The problem I have is that youtube video's aren't embedded. Joshy said this might be because I had a custom youtube BBcode. However, I have since removed the bbcode, and reparsed all the posts via phpbbcli.

Still, youtube video's aren't embedded. Everything else works. I have no idea what might cause this.

User avatar
</Solidjeuh>
Registered User
Posts: 1154
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [DEV][3.2] Official Extension: Media Embed PlugIn

Post by </Solidjeuh> » Mon Nov 28, 2016 10:48 pm

Can Belgium news site be included?
http://www.hln.be/
We offer fun HTML5 games for young and old.
Register a free account & enjoy all functions!
Save your score, challenge other members or play along with our tournaments.


~~~ https://www.solidjeuh.be ~~~

User avatar
Lumpy Burgertushie
Registered User
Posts: 65323
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: [DEV][3.2] Official Extension: Media Embed PlugIn

Post by Lumpy Burgertushie » Mon Nov 28, 2016 11:47 pm

Cin- wrote:I'm currently testing this on a migrated board (running phpBB 3.2-RC2, from github today) with the most recent version of the mediaembed plugin.

The problem I have is that youtube video's aren't embedded. Joshy said this might be because I had a custom youtube BBcode. However, I have since removed the bbcode, and reparsed all the posts via phpbbcli.

Still, youtube video's aren't embedded. Everything else works. I have no idea what might cause this.
need a link to a post on your board where it is not working and the exact bbcode and html replacement that you are using.


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4708
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [DEV][3.2] Official Extension: Media Embed PlugIn

Post by VSE » Wed Nov 30, 2016 8:42 am

Cin- wrote:I'm currently testing this on a migrated board (running phpBB 3.2-RC2, from github today) with the most recent version of the mediaembed plugin.

The problem I have is that youtube video's aren't embedded. Joshy said this might be because I had a custom youtube BBcode. However, I have since removed the bbcode, and reparsed all the posts via phpbbcli.

Still, youtube video's aren't embedded. Everything else works. I have no idea what might cause this.
If you're talking about old youtube posts, they probably won't work even though you reparsed, because they most likely didn't use the same BBCode format, for example just the youtube ID and not the whole URL.

As the author of this plugin has said before, if you already have an exisitng site bbcode, it will interfere with this plugin. So you're best bet is sticking with your old youtube bbcode (if it's different than the URL), and using this plugin to handle all the other sites.

If the youtube bbcode did use the youtube URLs, then deleting the youtube bbcode gives control back to this plug-in (and youtube will now show up in the manage sites page in the ACP, make sure to enable it).
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

Cin-
Registered User
Posts: 57
Joined: Fri Feb 06, 2015 2:06 pm

Re: [DEV][3.2] Official Extension: Media Embed PlugIn

Post by Cin- » Wed Nov 30, 2016 8:46 am

Mea Culpa VSE,

I forgot to enable youtube in the ACP. I was unaware the mediaembed plugin had an ACP interface..

Thanks!

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4708
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [3.2][ALPHA] Official Extension: Media Embed PlugIn

Post by VSE » Sun Dec 11, 2016 5:41 pm

Check out the first post. We've released the first alpha version of this extension for phpBB 3.2.0-RC2 (not supported on any previous versions).
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

User avatar
lopoto
Registered User
Posts: 95
Joined: Thu Feb 12, 2015 3:13 pm

Re: [3.2][ALPHA] Official Extension: Media Embed PlugIn

Post by lopoto » Sun Dec 11, 2016 9:02 pm

nice ext. thx

rogerio24
Registered User
Posts: 39
Joined: Sat Jul 05, 2014 1:18 am
Location: Córdoba - Argentina
Name: Roger Biderbost
Contact:

Re: [3.2][ALPHA] Official Extension: Media Embed PlugIn

Post by rogerio24 » Sun Jan 08, 2017 8:22 pm

Hi
I have upgraded to the latest version , 3.2. Well I have installed the offical extension media sharing. IT was installed without any problem. Well when I click in preview it works perfect but then when I do click in "submit" after that I can not see the media embed in the thread. Any solution?
Thanks


Look this video and you will see what I mean

https://youtu.be/KhnIoG7j3f0


Look with this extension (s9e/mediaembed ) I had the same problem for this reason I chose a official extension.
Well I will wait the fix

Thanks in advance

rogerio24
Registered User
Posts: 39
Joined: Sat Jul 05, 2014 1:18 am
Location: Córdoba - Argentina
Name: Roger Biderbost
Contact:

Re: [3.2][ALPHA] Official Extension: Media Embed PlugIn

Post by rogerio24 » Mon Jan 09, 2017 2:33 pm

Any update about my issue?
Thanks

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4708
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [3.2][ALPHA] Official Extension: Media Embed PlugIn

Post by VSE » Mon Jan 09, 2017 7:49 pm

Check out the first post. We've released the first RC version of this extension for phpBB 3.2.0.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4708
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [3.2][ALPHA] Official Extension: Media Embed PlugIn

Post by VSE » Mon Jan 09, 2017 8:30 pm

rogerio24 wrote:
Sun Jan 08, 2017 8:22 pm
Hi
I have upgraded to the latest version , 3.2. Well I have installed the offical extension media sharing. IT was installed without any problem. Well when I click in preview it works perfect but then when I do click in "submit" after that I can not see the media embed in the thread. Any solution?
Thanks


Look this video and you will see what I mean

https://youtu.be/KhnIoG7j3f0


Look with this extension (s9e/mediaembed ) I had the same problem for this reason I chose a official extension.
Well I will wait the fix

Thanks in advance
You appear to have a lot of stuff going on with your forum. Maybe you should try disabling other extension, or just installing this extension alone on a fresh install of phpBB to see if the problem exists on its own first. My suspicion is you have some other extension or issue with your forum causing it.

This extension does not actually do any of the embedding. It is all handled by the s9e textformatter plugin which is part of phpBB package. At any rate since it's not reproducible here, you're gonna have to do some detective work to find out the cause first.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

Locked

Return to “Extensions in Development”

Who is online

Users browsing this forum: Galixte de EzCom, nou nou and 19 guests