Page 1 of 3

[CDB] Official Extension: Media Embed PlugIn

Posted: Wed Sep 14, 2016 8:08 am
by MattF
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.)

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

Posted: Thu Sep 15, 2016 2:33 am
by 3Di
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. :)

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

Posted: Thu Sep 15, 2016 3:14 am
by JoshyPHP
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.

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

Posted: Thu Sep 15, 2016 6:52 am
by MattF
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.

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

Posted: Mon Nov 28, 2016 12:52 pm
by Cin-
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.

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

Posted: Mon Nov 28, 2016 10:48 pm
by </Solidjeuh>
Can Belgium news site be included?
http://www.hln.be/

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

Posted: Mon Nov 28, 2016 11:47 pm
by Lumpy Burgertushie
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

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

Posted: Wed Nov 30, 2016 8:42 am
by MattF
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).

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

Posted: Wed Nov 30, 2016 8:46 am
by Cin-
Mea Culpa VSE,

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

Thanks!

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

Posted: Sun Dec 11, 2016 5:41 pm
by MattF
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).

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

Posted: Sun Dec 11, 2016 9:02 pm
by lopoto
nice ext. thx

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

Posted: Sun Jan 08, 2017 8:22 pm
by rogerio24
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

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

Posted: Mon Jan 09, 2017 2:33 pm
by rogerio24
Any update about my issue?
Thanks

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

Posted: Mon Jan 09, 2017 7:49 pm
by MattF
Check out the first post. We've released the first RC version of this extension for phpBB 3.2.0.

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

Posted: Mon Jan 09, 2017 8:30 pm
by MattF
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.