phpBB Media Embed PlugIn

Media Sites - Additions & Updates - phpBB Media Embed PlugIn

Media Sites - Additions & Updates

by MattF » Sun Mar 19, 2017 7:02 am

This extension does not routinely manage, manipulate or maintain the support of media sites. That is handled primarily by the 3rd-party library, known as the Media Embed PlugIn in the TextFormatter Library, bundled within phpBB. When the developers of TextFormatter update, add or remove support for sites in their library, those changes will not become available until a new version of phpBB is released which has been updated to use the latest version of the TextFormatter library.

Development of the Media Embed Plugin for the TextFormatter Library can be followed here:
https://github.com/s9e/TextFormatter

However, as of this extension's 1.1.0 release, it is now possible for users to add their own media sites or update exisiting ones very easily. This is handled by placing new Media Site Definition Files into the following location: ext/phpbb/mediaembed/collection/sites/

The following FAQ explains how you can create your own definitions for media sites that are not already supported by the Media Embed Plugin:

FAQ: How To Add Sites

Please use this forum to share your custom Media Site Definition Files with other users.

Requests for new sites may also be made here.

Site definitions posted in this topic may be added to future releases of this extension, provided that they are from quality sites and are working correctly.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6035
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: Media Sites - Additions & Updates

by MattF » Sat May 25, 2019 3:27 pm

Here are the custom sites we have included already in the 1.1.0 release of the extension.

They are already installed in version 1.1.0. But they are also provided here as instructive guides to help you figure out how to make new site definitions of your own (after reading the how to FAQ above, of course).
Attachments
NewSitesForVersion1.1.0.zip
(2.59 KiB) Downloaded 198 times
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6035
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: Media Sites - Additions & Updates

by MattF » Sat May 25, 2019 3:32 pm

Here's a new custom video site the French boards may like:

ALLOCINE - French Cinema, TV, Trailers site: http://www.allocine.fr
Attachments
allocine.yml.zip
(716 Bytes) Downloaded 124 times
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6035
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: Media Sites - Additions & Updates

by Tin Soldier » Mon Jul 01, 2019 4:49 pm

I'd read awhile back that neither periscope.tv nor pscp.tv are possible, and eBay no longer works. Is all that still true?
User avatar
Tin Soldier
Registered User
Posts: 82
Joined: Wed Dec 05, 2018 1:20 am

Re: Media Sites - Additions & Updates

by Tin Soldier » Sun Jul 07, 2019 6:51 pm

I've enabled this extension, when I simply had Advanced BBCode enabled before, and notice Yarn will not embed now when it would with just Advanced BBCode alone.

Code: Select all

[media]https://y.yarn.co/34a48bd4-7447-40dd-8317-82ccf59336bf.mp4?1556127238690.mp4[/media]
Now it just appears as text even when resaved. It seems Media Embed breaks Yarn links. Is there a way to restore that?
User avatar
Tin Soldier
Registered User
Posts: 82
Joined: Wed Dec 05, 2018 1:20 am

Re: Media Sites - Additions & Updates

by MattF » Sun Jul 07, 2019 6:57 pm

Tin Soldier wrote:I've enabled this extension, when I simply had Advanced BBCode enabled before, and notice Yarn will not embed now when it would with just Advanced BBCode alone.

Code: Select all

[media]https://y.yarn.co/34a48bd4-7447-40dd-8317-82ccf59336bf.mp4?1556127238690.mp4[/media]
Now it just appears as text even when resaved. It seems Media Embed breaks Yarn links. Is there a way to restore that?
ABBC3 and Media Embed use the exact same thing, neither can break each other. The only way it won't work is if you installed Media Embed and have Yarn turned off in its settings (ABBC3 does not offer access to these settings to enable/disable specific sites).

Also, this thread is for submitting/requesting Sites. Not support.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6035
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: Media Sites - Additions & Updates

by Tin Soldier » Sun Jul 07, 2019 9:18 pm

VSE wrote:
Tin Soldier wrote:I've enabled this extension, when I simply had Advanced BBCode enabled before, and notice Yarn will not embed now when it would with just Advanced BBCode alone.

Code: Select all

[media]https://y.yarn.co/34a48bd4-7447-40dd-8317-82ccf59336bf.mp4?1556127238690.mp4[/media]
Now it just appears as text even when resaved. It seems Media Embed breaks Yarn links. Is there a way to restore that?
ABBC3 and Media Embed use the exact same thing, neither can break each other. The only way it won't work is if you installed Media Embed and have Yarn turned off in its settings (ABBC3 does not offer access to these settings to enable/disable specific sites).

Also, this thread is for submitting/requesting Sites. Not support.
Well, Yarn is not listed in Media Embed settings, so since it worked in ABBC3...I don't know what to say but request Yarn be added back. I hope you can.

Thanks
User avatar
Tin Soldier
Registered User
Posts: 82
Joined: Wed Dec 05, 2018 1:20 am

Re: Media Sites - Additions & Updates

by MattF » Sun Jul 07, 2019 11:21 pm

Yarn has never been supported by Media Embed or ABBC3 so not sure how you had that but this should be it's YAML:

Code: Select all

# yarn.yml
name: Yarn
host: yarn.co
example: https://yarn.co/yarn-clip/b5247753-528e-429a-a163-89796f0ae608
extract: "!//(memes.)?yarn.co/yarn-clip/(?'id'[\\w-]+)!"
iframe:
    src: //getyarn.io/yarn-clip/embed/{@id}?autoplay=false

Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6035
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: Media Sites - Additions & Updates

by eduardo_nl » Fri Aug 30, 2019 4:18 pm

Just made one for Mixer (that streaming platform from Microsoft). It works for both livestreams (https://mixer.com/Ninja) and archived videos (https://mixer.com/Ninja?vod=n0KgFL2YnUSeo3Mi8YUtZw)

Code: Select all

# mixer.yml
name: Mixer
host: mixer.com
example: https://mixer.com/Ninja
extract: 
    - "!//mixer.com/(?'user'[-0-9A-Z_a-z]+)!"
    - "!//mixer.com/(?'user'[-0-9A-Z_a-z]+)\\?vod=(?'id'[-0-9A-Z_a-z]+)!"
iframe:
    src: https://mixer.com/embed/player/{@user}?vod={@id}
eduardo_nl
Registered User
Posts: 10
Joined: Sun Jan 10, 2016 1:43 am

Re: Media Sites - Additions & Updates

by mebored81 » Wed Dec 18, 2019 9:59 pm

I'm hoping someone can help me, recently Gfycat made a change that separated out the adult content to a new site RedGifs.com. Obviously this means that I now what those gifs to be embedded properly onto my page.

I tried following the instructions but can't seem to make it work using the examples above. So I went looking into the Textformatter pages and noticed that they are doing a scrape for the dimensions. This is a little bit more then my poor skills could handle.

https://github.com/s9e/TextFormatter/bl ... gfycat.xml

Would someone be able to use this information to work out what I would need? Happy to work with someone

Ben
mebored81
Registered User
Posts: 2
Joined: Wed Dec 18, 2019 9:46 pm

Re: Media Sites - Additions & Updates

by MattF » Fri Dec 20, 2019 1:58 am

You would need to add a new site for that, as explained how in the first post.

This should work:

redgifs.yml

Code: Select all

name: "REDGIFS"
host: redgifs.com
extract: "!//redgifs.com/watch/(?'id'\\w+)!"
iframe:
    src: //redgifs.com/ifr/{@id}
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6035
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: Media Sites - Additions & Updates

by mebored81 » Fri Dec 20, 2019 7:41 pm

That is what I thought too. I tried that and it doesn't appear to work.
Screen Shot 2019-12-21 at 6.35.39 am.png
Screen Shot 2019-12-21 at 6.36.02 am.png
Screen Shot 2019-12-21 at 6.36.02 am.png (13.73 KiB) Viewed 1644 times
Screen Shot 2019-12-21 at 6.36.29 am.png
From reading the guide on TextFormatter they mentioned something about the dimensions of the GIF not being available on the main link so needing to scrape that information from the second link

https://github.com/s9e/TextFormatter/bl ... _custom.md

But what is weird is I tried just using the /ifr link and changed the code so that it all used it instead of /watch but that doesn't work either.

So I am lost as to what to try next
mebored81
Registered User
Posts: 2
Joined: Wed Dec 18, 2019 9:46 pm

Re: Media Sites - Additions & Updates

by MattF » Sat Dec 21, 2019 4:27 pm

It worked for me but I'm not going to post a screenshot of what I saw. try using the MEDIA bbcode with the link.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6035
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: Media Sites - Additions & Updates

by ivailo95 » Fri Dec 27, 2019 1:16 pm

Can you add this video site ?

Code: Select all

https://translate.google.bg/translate?hl=bg&tab=wT0&sl=bg&tl=en&u=http%3A%2F%2Fwww.videoclip.bg%2Fwatch%2F589305_tainata-the-secret-bg-audio-2-00-6-2-2
Original link:

Code: Select all

http://www.videoclip.bg/watch/589305
:roll:
For REALLY good and VERY cheap hosting CLICK HERE
Watch "Lost in a random" game, it's the best
User avatar
ivailo95
Registered User
Posts: 1097
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo

Re: Media Sites - Additions & Updates

by rxu » Mon Jan 06, 2020 4:35 am

My antivirus soft claims HTML/ScrInject.B threat is on this site. Also embedded video doesn't play embedded but just opens in new window (this is the site issue). But ok...
videoclipbg.yml

Code: Select all

name: VideoClip.bg
host: videoclip.bg
example: http://www.videoclip.bg/watch/589305_tainata-the-secret-bg-audio-2-00-6-2-2
extract: "!//www.videoclip.bg/watch/(?'id'\\d+)!"
iframe:
    src: http://www.videoclip.bg/watch/{@id}

rxu
Extensions Development Team
Posts: 3954
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation