s9e Media BBCodes pack

s9e Media BBCodes pack 20231102

No permission to download
They don't look anything special. If you want to try it out for yourself there's only one PHP file to upload to your server and one XML file to upload through the admin panel.

Here's a couple of screenshots from and individual Imgur link and an album.
 

Attachments

  • imgur1.webp
    imgur1.webp
    57 KB · Views: 9
  • imgur2.webp
    imgur2.webp
    91.2 KB · Views: 8
Also you should consider adding HTTPS support, like if there are sites that do not support https and the board is https, disable them.
 
@Robust I looked at those FunnyJunk links but I don't think they offer a way to embed their content. They do provide direct links to the video files but I'm not sure they are meant to be used on third-party websites. I sent them a mail to request a clarification.

I can't really keep track of which sites do support HTTPS, it would take a lot of time. Usually when I add a new site and they give a http:// URL, I test it via HTTPS and use a protocol-relative URL. However, sometimes some of their assets end up being served via HTTP and prevent their content from showing up in some browsers.
 
@Robust I looked at those FunnyJunk links but I don't think they offer a way to embed their content. They do provide direct links to the video files but I'm not sure they are meant to be used on third-party websites. I sent them a mail to request a clarification.

I can't really keep track of which sites do support HTTPS, it would take a lot of time. Usually when I add a new site and they give a http:// URL, I test it via HTTPS and use a protocol-relative URL. However, sometimes some of their assets end up being served via HTTP and prevent their content from showing up in some browsers.
I mean keep a variable true or false. It's easy to check, take an example file you'd embed and put https:// in front (when adding a new site). If it works, set the var to true, else false. If it's true it means the site has https support (at least for some media, aka the one you tested worked). Most of them give errors, SSL insecure or don't work at all, easy to narrow down.
 
The problem is that what you describe must be done manually for each of the 100+ sites, and should be repeated semi-regurlarly. I have already tested most (all?) of the current sites manually when I created them. About 20 of them are HTTP-only. The rest worked when accessed via HTTPS at the time. Those that don't work for you must have a problem with mixed content or with their certificate.

If you want to exclude sites that are HTTP-only you can add the following to your list of excluded sites: cnn, cnnmoney, dumpert, funnyordie, globalnews, humortvnl, ign, imdb, liveleak, mailru, nytimes, strawpoll, theatlantic, theonion, tinypic, vbox7, vevo, videomega, wsj, youku.
 
The problem is that what you describe must be done manually for each of the 100+ sites, and should be repeated semi-regurlarly. I have already tested most (all?) of the current sites manually when I created them. About 20 of them are HTTP-only. The rest worked when accessed via HTTPS at the time. Those that don't work for you must have a problem with mixed content or with their certificate.

If you want to exclude sites that are HTTP-only you can add the following to your list of excluded sites: cnn, cnnmoney, dumpert, funnyordie, globalnews, humortvnl, ign, imdb, liveleak, mailru, nytimes, strawpoll, theatlantic, theonion, tinypic, vbox7, vevo, videomega, wsj, youku.
I did a test and more than 20 were HTTP-only. Gamespot was also HTTP only, even though HTTPS support was there...? Reddit embedding doesn't even seem to work. A lot of the following are here because they're irrelevant to my site but a lot don't even have https support:

amazon,bleacherreport,cnnmoney,colbertnation,dailyshow,dumpert,espndeportes,funnyordie,gamespot,gametrailers,getty,globalnews,googleplus,hudl,imdb,khl,libsyn,liveleak,msnbc,natgeochannel,npr,nytimes,reddit,streamable,teamcoco,theatlantic,theonion,tinypic,traileraddict,viagame,videomega,wshh,wsj,xboxclips,yahooscreen
 
I did a test and more than 20 were HTTP-only. Gamespot was also HTTP only, even though HTTPS support was there...?
20 sites use a HTTP URL. The rest either use a protocol-relative URL or an HTTPS URL. Gamespot currently redirects to HTTP when accessed via HTTPS.

Reddit embedding doesn't even seem to work.
It works for me. Perhaps try this URL in a tab, see if it works for you too: https://s9e.github.io/iframe/reddit...on_to_seeing_the_ceiling_fan_move_for/cpp2kkl

Only single videos are supported, not articles. And BBC only allows some of their videos to be embedded too. For instance, they'll let you show this one on your site but not this one.
 
@JoshyPHP how to REMOVE "s9e_AMAZON_ASSOCIATE_TAG" so i can use another addon which have differents tags for another amazon sites e.g. .COM, .FR, .DE, .CA, .IT, etc.?
thank you in advance!
 
@Nicky Add "amazon" to the list of excluded sites and it will not touch Amazon links.
@JoshyPHP, thank you for the answer. i didn't wanted that, as than i will not have your nice amazon embedded code :)
have no idea how to setup more ASSOCIATE_TAG for different country TLD's, as they are different from country to country..
however, thank you again & wish you a nice day!
 
Ok, so you had an add-on that adds associate tags but does not embed the product description from Amazon and it doesn't replace associate tags when they're already present, correct? I can't remove the default (and invalid, I might add) associate tag because the embed requires it. I can add support for different associate tags based on TLD though.
 
@Nicky Update to the latest version, go to Home > Options > s9e Media Pack and at the bottom of the page you'll find a bunch of text boxes where you can enter a default associate tag and associate tags for each supported TLD.
 
Just wanted to say that this mod is awesome and I'm looking forward to the site getting enough donations for me to be able to kick in a donation of my own to help you out and say thanks for all your hard work.

Really love this one!
 
I was wondering sicne Grooveshark is gone, would it be possible to embed things from http://www.deezer.com/
They are in Spanish though, buts eem to be some alternative. If not that's alright. I just figured I'd ask.
If there is another mp3 player/song already enabled with the addon that I can use instead of grooveshark I'd like to know.
Thanks again.
 
Top Bottom