s9e Media BBCodes pack

s9e Media BBCodes pack 20231102

No permission to download
@Rambro Anything's possible, so yes, it can be done. Kind of. I'm not sure it's so useful that I should add it to this add-on. You can add it for your personal board with those settings:
Code:
              Media Site ID: dropboximg
                 Site Title: Dropbox
                 Match URLs: (dropbox\.com/s/(?'id'\w+/[-\w]+\.[jpn]+g))
                 Embed HTML: <img src="https://www.dropbox.com/s/{$id}?dl=1">
Regular Expression Matching: ☑ Use 'Match URLs' as PCRE regular expressions
Technically it shouldn't work because the slash in the URL gets escaped to %2F by XenForo but it still does anyway.

Just checking in to see if there´s been any progress on enabling embeds of dropbox image URL:s.

Does it still display a broken image?
 
Can this be achieved just with EXTRA.css, including the message text? How would you approach, please?

You can try something like that but it may not work with some embeds that resize themselves, such as Twitter's.

Code:
[data-s9e-mediaembed]::after
{
    content:"text"
}

Just checking in to see if there´s been any progress on enabling embeds of dropbox image URL:s.

No change.
 
I don't intend to add any adult website to this add-on because it could cause some problems to existing users.

What I could do is write a separate add-on for adult websites. I will send you a private message as soon as I can.
 
@JoshyPHP Any plan to have list of HTTP-only media sites in the FAQ? Or perhaps a separate XML installer with all HTTP-only sites excluded by default? (Doesn't seem like the media codes are being installed by the XML file) I believe I've mentioned this before, but since my site has HSTS enabled, any non-HTTPS connection will be blocked by browsers which respect HSTS. At the moment, I've to manually delete all HTTP-only media sites on every update of this add-on. Thanks in advance!

Also, ( ͡° ͜ʖ ͡°)?

EDIT: Also, any plan to update all Site URL options in the BB Code Media Sites option to use HTTPS if they support it?
 
Last edited:
I would like to see these popular media sites

I went through that list and added Veoh last week and I will add support for The Guardian in the next version. I would have added Vice but they have multiple players with different variables, some data needs to be extracted from the page and I can't currently spend the time it would require to implement. The other sites on the list don't seem to have a general audience big enough to be included.

and new update the side http://streamcloud.eu/ for the plugin

I don't think Streamcloud provides any way to embed their content. Either way it doesn't look like a site that should be supported in this add-on.

I may have asked this before. Any chance to add NBC Sports:

NBC Sports videos will be supported in the next update.

Any plan to have list of HTTP-only media sites in the FAQ?

No, and I've just replaced the last few HTTP-only URLs with protocol-relative URLs because I don't keep track of websites that add support for HTTPS after I checked them the first time.

If you go to your admin panel in Options > s9e Media Pack you'll see a text field named "Excluded sites". You can put the IDs of the sites you don't want to installed, e.g. "youtube,cnn,veoh". It's a permanent setting and you won't have to manually remove sites anymore.

EDIT: Also, any plan to update all Site URL options in the BB Code Media Sites option to use HTTPS if they support it?

I never thought about it. What would be the benefits?

------------------------------------------------

Ok I think I'm done catching up on pending requests and comments. If I haven't addressed your post by now it means I missed it so please repost. If you want to sponsor the development of a site definition or a feature you can send me a pm to discuss it. If you want to support this add-on there's also a couple of "Donate" buttons its in description.
 
If you go to your admin panel in Options > s9e Media Pack you'll see a text field named "Excluded sites". You can put the IDs of the sites you don't want to installed, e.g. "youtube,cnn,veoh". It's a permanent setting and you won't have to manually remove sites anymore.
From the looks of it, inserting media ID to this option will simply make the media tag not to render at all. Is it not possible to make it fallback to the actual link instead?
I never thought about it. What would be the benefits?
On most cases there's no benefit to the client really. Majority of sites that had already supported HTTPS protocol should have already made their HTTP protocol redirect to the HTTPS one. Well.., I simply thought of it because I had a little bit of perfectionism in me, I guess.. So I was slightly bothered by the fact that sites that could have been visited with HTTPS were being displayed with HTTP.
 
I went through that list and added Veoh last week and I will add support for The Guardian in the next version. I would have added Vice but they have multiple players with different variables, some data needs to be extracted from the page and I can't currently spend the time it would require to implement. The other sites on the list don't seem to have a general audience big enough to be included.
Thanks for adding guardian and Veoh.
Vice is indeed using multiple standards but all newer videos are the same standard: https://www.vice.com/en_uk/video/wa...ost-notorious-reformed-criminal-jason-coghlan
That's the only standard we would need.
 
Oh, right. The link won't be converted because it doesn't carry Amazon's ASIN. Books are embedded differently and display a big preview of the content rather than a small image of the product. Not sure it's better than a link.
 
I don't know about Google Earth. If you meant Google Maps, it's been discussed before and it could not be added for technical reasons.
 
Top Bottom