[ABD] s9e/mediaembed - Embed videos and third-party content without a single BBCode

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
Locked
Nully
Registered User
Posts: 453
Joined: Thu Jan 29, 2009 10:11 pm
Location: France
Contact:

Re: [BETA] s9e/mediaembed - Embed videos and third-party content without a single BBCode

Post by Nully »

I opened a forum where there are topics for wideo tests..

Edit
if I go in a forum with no links towards videos, everything is ok.
Edit 2
No, not true. In another forum with youtube link its'ok.
Last edited by Nully on Tue Dec 09, 2014 4:13 pm, edited 1 time in total.
User avatar
JoshyPHP
Code Contributor
Posts: 1209
Joined: Mon Jul 11, 2011 12:28 am

Re: [BETA] s9e/mediaembed - Embed videos and third-party content without a single BBCode

Post by JoshyPHP »

I posted an update that should fix this issue: https://github.com/s9e/phpbb-ext-mediae ... 41209b.zip

The bug is caused by a missing include statement. I did test the previous version before uploading it and it worked fine but I forgot that I have a different autoloader on my test board, that's why it worked despite the missing statement.
I wrote the thing that does BBCodes in 3.2+.
Nully
Registered User
Posts: 453
Joined: Thu Jan 29, 2009 10:11 pm
Location: France
Contact:

Re: [BETA] s9e/mediaembed - Embed videos and third-party content without a single BBCode

Post by Nully »

With version "b"...it seemed ok at the beginning with Youtube, VBox. For one Daily Motion video was not embedded.
I tried a new message with link:
http://www.dailymotion.com/video/x2dqbl ... mmer_music
and had fatal error:

Code: Select all

s9e\TextFormatter\Bundle::parse(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "s9e\TextFormatter\Parser" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in C:\wamp\www\mysite\ext\s9e\mediaembed\bundle.php on line 26
User avatar
JoshyPHP
Code Contributor
Posts: 1209
Joined: Mon Jul 11, 2011 12:28 am

Re: [BETA] s9e/mediaembed - Embed videos and third-party content without a single BBCode

Post by JoshyPHP »

Ok, thanks for the report. I'm going to look into it asap.

In the meantime, if it causes you issues and you don't want to disable the extension, you can uninstall this version and reinstall the previous one before I tried to reduce the number of files. It's still available on GitHub: https://github.com/s9e/phpbb-ext-mediae ... 141203.zip
I wrote the thing that does BBCodes in 3.2+.
Nully
Registered User
Posts: 453
Joined: Thu Jan 29, 2009 10:11 pm
Location: France
Contact:

Re: [BETA] s9e/mediaembed - Embed videos and third-party content without a single BBCode

Post by Nully »

Don't worry for me. I'm testing on my computer. My forum online is still version 3.0.12 :mrgreen:
Good luck!
User avatar
JoshyPHP
Code Contributor
Posts: 1209
Joined: Mon Jul 11, 2011 12:28 am

Re: [BETA] s9e/mediaembed - Embed videos and third-party content without a single BBCode

Post by JoshyPHP »

Cool. :)

I looked into it and it was a bad copy/paste. I don't know how it happened and why I didn't catch it before. Anyway, I uploaded a new version: https://github.com/s9e/phpbb-ext-mediae ... 41209c.zip
I wrote the thing that does BBCodes in 3.2+.
Nully
Registered User
Posts: 453
Joined: Thu Jan 29, 2009 10:11 pm
Location: France
Contact:

Re: [BETA] s9e/mediaembed - Embed videos and third-party content without a single BBCode

Post by Nully »

Super cool :D
It works. Version "c".
Even with Daylymotion's link I posted before. :mrgreen:
User avatar
draky
Registered User
Posts: 250
Joined: Tue Dec 10, 2002 2:04 pm
Location: France
Name: Gilles W.
Contact:

Re: [BETA] s9e/mediaembed - Embed videos and third-party content without a single BBCode

Post by draky »

Twitter not working ?

Tried this : https://twitter.com/michelcymes/status/ ... 4671087616

No display.
User avatar
JoshyPHP
Code Contributor
Posts: 1209
Joined: Mon Jul 11, 2011 12:28 am

Re: [BETA] s9e/mediaembed - Embed videos and third-party content without a single BBCode

Post by JoshyPHP »

It works for me. Try with the latest version 20141209c and if it still doesn't work please try to describe in what way it fails.
I wrote the thing that does BBCodes in 3.2+.
User avatar
nuxtovios
Registered User
Posts: 17
Joined: Tue May 29, 2007 6:06 pm

Re: [BETA] s9e/mediaembed - Embed videos and third-party content without a single BBCode

Post by nuxtovios »

is there any tutorial so we can add support for more video site or players?
User avatar
JoshyPHP
Code Contributor
Posts: 1209
Joined: Mon Jul 11, 2011 12:28 am

Re: [BETA] s9e/mediaembed - Embed videos and third-party content without a single BBCode

Post by JoshyPHP »

Unfortunately, you can't. The list of supported sites is hardcoded.
I wrote the thing that does BBCodes in 3.2+.
Nully
Registered User
Posts: 453
Joined: Thu Jan 29, 2009 10:11 pm
Location: France
Contact:

Re: [BETA] s9e/mediaembed - Embed videos and third-party content without a single BBCode

Post by Nully »

I discover it works with twitter!
I did'nt know. For me twitter it's not a video :mrgreen:
User avatar
JoshyPHP
Code Contributor
Posts: 1209
Joined: Mon Jul 11, 2011 12:28 am

Re: [BETA] s9e/mediaembed - Embed videos and third-party content without a single BBCode

Post by JoshyPHP »

It also embeds Facebook posts, Google Docs and a few others. The whole list is on the first page.
I wrote the thing that does BBCodes in 3.2+.
User avatar
nuxtovios
Registered User
Posts: 17
Joined: Tue May 29, 2007 6:06 pm

Re: [BETA] s9e/mediaembed - Embed videos and third-party content without a single BBCode

Post by nuxtovios »

JoshyPHP wrote:Unfortunately, you can't. The list of supported sites is hardcoded.
:cry:

I use jwplayer for most of my videos on board is there any option or support for jwplayer?
Is there any future plants to publish a tutorial on adding a player of my choice?
johnkitching
Registered User
Posts: 32
Joined: Tue Dec 09, 2014 7:19 am

Re: [BETA] s9e/mediaembed - Embed videos and third-party content without a single BBCode

Post by johnkitching »

JoshyPHP wrote:The name and version are correct. I think you simply did not upload every file that was in the archive. Make sure that all of the following files have been uploaded to your site:

Code: Select all

s9e/mediaembed/LICENSE
s9e/mediaembed/README.md
s9e/mediaembed/composer.json
s9e/mediaembed/config/services.yml
s9e/mediaembed/event/subscriber.php
s9e/mediaembed/ext.php
s9e/mediaembed/vendor/s9e/TextFormatter/LICENSE
s9e/mediaembed/vendor/s9e/TextFormatter/src/Bundle.php
s9e/mediaembed/vendor/s9e/TextFormatter/src/Bundles/MediaPack.php
s9e/mediaembed/vendor/s9e/TextFormatter/src/Bundles/MediaPack/Renderer.php
s9e/mediaembed/vendor/s9e/TextFormatter/src/Parser.php
s9e/mediaembed/vendor/s9e/TextFormatter/src/Parser/BuiltInFilters.php
s9e/mediaembed/vendor/s9e/TextFormatter/src/Parser/Logger.php
s9e/mediaembed/vendor/s9e/TextFormatter/src/Parser/Tag.php
s9e/mediaembed/vendor/s9e/TextFormatter/src/Plugins/MediaEmbed/Parser.php
s9e/mediaembed/vendor/s9e/TextFormatter/src/Plugins/ParserBase.php
s9e/mediaembed/vendor/s9e/TextFormatter/src/Renderer.php
s9e/mediaembed/vendor/s9e/TextFormatter/src/Unparser.php
s9e/mediaembed/vendor/s9e/TextFormatter/src/autoloader.php
You're right, some files were missing but I checked in the original downloads and they were missing there too.
I've now got all the files but it still isn't working.
Any ideas?
Locked

Return to “Abandoned Extensions”