[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
TomaGo
Registered User
Posts: 63
Joined: Sat Jan 21, 2017 10:42 am

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

Post by TomaGo » Tue Jul 18, 2017 5:35 pm

Hello,

I would like to change the size of the youtube video on my forum, is it possible ?

(It's a little bit too small in my opinion)

Thanks

User avatar
JoshyPHP
Code Contributor
Posts: 944
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 » Tue Jul 18, 2017 5:51 pm

You can in CSS:

Code: Select all

[data-s9e-mediaembed="youtube"]
{
    max-width: 1280px !important;
}
I wrote the thing that does BBCodes in 3.2.

TomaGo
Registered User
Posts: 63
Joined: Sat Jan 21, 2017 10:42 am

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

Post by TomaGo » Tue Jul 18, 2017 7:25 pm

Thank you Joshy,

In witch css can i find this ?

User avatar
JoshyPHP
Code Contributor
Posts: 944
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 » Tue Jul 18, 2017 7:29 pm

You need to add it to your forum's CSS, however it is done in phpBB. I don't know.
I wrote the thing that does BBCodes in 3.2.

TomaGo
Registered User
Posts: 63
Joined: Sat Jan 21, 2017 10:42 am

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

Post by TomaGo » Tue Jul 18, 2017 7:53 pm

I did it and it's perfect.

thank you !

thetripperchic
Registered User
Posts: 32
Joined: Wed Jul 05, 2017 12:26 am

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

Post by thetripperchic » Wed Jul 19, 2017 7:10 pm

I put the ext in the ext and enabled it, but what do i do to make it work. i have missed something somewhere

User avatar
JoshyPHP
Code Contributor
Posts: 944
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 » Wed Jul 19, 2017 8:20 pm

You post URLs and they become videos. Only new posts.
I wrote the thing that does BBCodes in 3.2.

TalhaMoazSarwar
Registered User
Posts: 10
Joined: Thu Jul 13, 2017 5:41 pm

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

Post by TalhaMoazSarwar » Thu Jul 20, 2017 1:24 pm

This extension is incredibly Good. I want to show the video thumbnail when sharing on social websites like Facebook. How can i do this ???

Hartenheer
Registered User
Posts: 623
Joined: Fri Jan 23, 2015 12:23 pm
Name: Willem Hartman
Contact:

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

Post by Hartenheer » Thu Jul 20, 2017 1:31 pm

Click right, copy and paste video address

Photos: Click right > copy and paste video address Between

Code: Select all

[img]code[/img]
tag
Sorry English is not my native language :oops:

Windows-Club
Registered User
Posts: 7
Joined: Wed Oct 14, 2015 6:14 am

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

Post by Windows-Club » Mon Jul 24, 2017 4:04 pm

I have since the version phpBB3.2 problems with the memory limit with this extension. In the 3.1 version everything is ok.
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 72 bytes) in /var/www/test/vendor/s9e/text-formatter/src/Configurator.php on line 3171

User avatar
JoshyPHP
Code Contributor
Posts: 944
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 » Mon Jul 24, 2017 4:11 pm

On 3.1 it uses a precomputed configuration whereas on 3.2 it's done dynamically. The only way to avoid this issue is to increase the memory_limit setting.

Alternatively, some versions of PHP use less memory to perform the same operations so upgrading your version of PHP may help you there. Also, enabling an opcode cache can save memory as well.
I wrote the thing that does BBCodes in 3.2.

Miri4ever
Registered User
Posts: 409
Joined: Sat Mar 07, 2015 11:18 am

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

Post by Miri4ever » Mon Jul 24, 2017 9:19 pm

This extensions breaks YOUTUBE Code with BBCodes inside. You can post this for example and hit the preview button:

Can only be tested real if this extension is alive. Without it, it works fine and you will see 3 videos.



[align=center][youtube]Hz__LYJuibE[/youtube][/align]
--> this works

[b][size=150][youtube]Hz__LYJuibE[/youtube][/size][/b] --> if there size, b, i, u or any others tag youtube won't display after submit


[size=150][color=#e74c3c]hallo --> same here

[youtube]Hz__LYJuibE[/youtube][/size]



The first video is shown but the other 2 not with BBCodes between. It keept me 2 days in searching to find this.
Homepage: Terra Oceanica

User avatar
JoshyPHP
Code Contributor
Posts: 944
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 » Mon Jul 24, 2017 10:42 pm

That's an interesting case, I'll look into it as soon as I have time.
I wrote the thing that does BBCodes in 3.2.

ItchyBear
Registered User
Posts: 41
Joined: Tue Jul 28, 2015 7:37 am

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

Post by ItchyBear » Tue Jul 25, 2017 7:00 am

Hi, I'm trying to embed a Google Form into a forum post for user entry & Google Doc for user reference.
Is it possible to add these into the extension?

Many thanks

User avatar
JoshyPHP
Code Contributor
Posts: 944
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 » Tue Jul 25, 2017 7:09 am

I don't think Google Forms is a good fit for embedding. You should look into making a custom BBCode for it instead.
I wrote the thing that does BBCodes in 3.2.

Locked

Return to “Abandoned Extensions”

Who is online

Users browsing this forum: No registered users and 10 guests