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

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!
Scam Warning
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
JoshyPHP
Code Contributor
Posts: 753
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 Oct 30, 2017 7:57 am

The website's code has changed. I'm going to update the definition for this new code but it will take a while for it to be effectively installed on your forums. Unfortunately there is no workaround at the moment.
I wrote the thing that does the BBCodes in 3.2. Unless it broke yours, in which case it was somebody else with a similar name.

maco8024
Registered User
Posts: 7
Joined: Tue Aug 09, 2016 2:44 pm
Location: Altay

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

Post by maco8024 » Tue Oct 31, 2017 2:33 am

Thank you, we will wait.

rxu
Extensions Development Team
Posts: 2769
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

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

Post by rxu » Mon Nov 06, 2017 2:54 pm

While loading the media, why does it try to connect to s9e.github.io? And what for?

User avatar
JoshyPHP
Code Contributor
Posts: 753
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 Nov 06, 2017 3:14 pm

It hosts embeds that require some kind of script to be injected in the page, such as Twitter's.

https://github.com/s9e/s9e.github.io/tree/master/iframe
I wrote the thing that does the BBCodes in 3.2. Unless it broke yours, in which case it was somebody else with a similar name.

rxu
Extensions Development Team
Posts: 2769
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

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

Post by rxu » Mon Nov 06, 2017 3:58 pm

Oh. Can it be an option to store them locally (to reduce connection time etc)?

User avatar
JoshyPHP
Code Contributor
Posts: 753
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 Nov 06, 2017 4:07 pm

Not an option that I plan to add but theoretically, yes. You just have to edit the template of the relevant tag, e.g. $configurator->tags['twitter']->template
I wrote the thing that does the BBCodes in 3.2. Unless it broke yours, in which case it was somebody else with a similar name.

Bermudez
Registered User
Posts: 43
Joined: Mon Aug 15, 2011 11:56 pm
Location: Spain
Name: Juan Antonio
Contact:

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

Post by Bermudez » Tue Nov 07, 2017 11:27 am

But, does not already exist an extension like this in a definitive and validated version?
Here → phpBB Media Embed PlugIn

User avatar
JoshyPHP
Code Contributor
Posts: 753
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 Nov 07, 2017 11:31 am

Yes.
I wrote the thing that does the BBCodes in 3.2. Unless it broke yours, in which case it was somebody else with a similar name.

Bermudez
Registered User
Posts: 43
Joined: Mon Aug 15, 2011 11:56 pm
Location: Spain
Name: Juan Antonio
Contact:

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

Post by Bermudez » Tue Nov 07, 2017 11:37 am

Then - without the intention of offending - why squander effort in accomplishing something that already exists?

User avatar
JoshyPHP
Code Contributor
Posts: 753
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 Nov 07, 2017 11:43 am

This extension predates the other one by 3 years and started as a 3.1 extension. I assume the phpBB extension team wanted to have a nice extension to showcase phpBB 3.2. They didn't really waste any effort because the main functionality is provided by the same code in both extensions. What they added is in the form of user interface, which does not exist in this one. Overall, there is very little code duplication between the two.
I wrote the thing that does the BBCodes in 3.2. Unless it broke yours, in which case it was somebody else with a similar name.

Bermudez
Registered User
Posts: 43
Joined: Mon Aug 15, 2011 11:56 pm
Location: Spain
Name: Juan Antonio
Contact:

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

Post by Bermudez » Tue Nov 07, 2017 11:49 am

OK.
Thank you very much for the clarification.

BioLogIn
Registered User
Posts: 160
Joined: Sun Jan 06, 2008 10:51 am

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

Post by BioLogIn » Tue Nov 14, 2017 4:57 pm

Hey JoshyPHP,

Would you be so kind to suggest why embedding this spreadsheet:
https://docs.google.com/spreadsheets/d/ ... sp=sharing
results in this error:
https://screenshots.firefox.com/ZKY9gW8 ... ighting.ru
?

User avatar
JoshyPHP
Code Contributor
Posts: 753
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 Nov 14, 2017 6:28 pm

I think you're supposed to publish the document. There's something in the file menu.
I wrote the thing that does the BBCodes in 3.2. Unless it broke yours, in which case it was somebody else with a similar name.

nikki605
Registered User
Posts: 8
Joined: Thu Aug 03, 2017 11:59 pm

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

Post by nikki605 » Sat Nov 18, 2017 5:47 pm

What is the correct URL to use to embed this brightcove video: https://www.nascar.com/video/franchise/ ... 0001483288

User avatar
JoshyPHP
Code Contributor
Posts: 753
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 » Sat Nov 18, 2017 10:18 pm

nikki605 wrote:
Sat Nov 18, 2017 5:47 pm
What is the correct URL to use to embed this brightcove video: https://www.nascar.com/video/franchise/ ... 0001483288
I have looked into this page and I can confirm that they use one kind of Brightcove player as their backend. However, this isn't something that can be determined solely by the URL, which means that the page's content has to be examined to find whether it contains a Brightcove embed and extract the relevant information from it.That's not something that could be applied globally because it would slow down every post that contains a URL, thus a special entry would have to be made for the Nascar site.

I will not be able to add this new site in the foreseeable future. If you want to sponsor its development and addition to this extension, you can send me a private message and I will walk you through it.
I wrote the thing that does the BBCodes in 3.2. Unless it broke yours, in which case it was somebody else with a similar name.

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: andares, Bing [Bot], bonelifer, Exabot, fabiomaticus, zorni and 29 guests