s9e Media BBCodes pack

s9e Media BBCodes pack 20231102

No permission to download
If I disable the Max responsive width, the video displays and plays in Lightbox in XFMG correctly.
I'm not going to lie, the whole thing is a mess quagmire. "Responsive width" is achieved through CSS hacks, and here we see the hacks used by Magnific Popup conflict with the hacks used by my add-on even though they both use the same technique. This is nobody's fault, it's just an unfortunate situation.

I have tested a few more hacks solutions locally and I believe the simplest way to fix this issue in the near future would be to edit the xengallery_media_preview.css file (copy/paste the full name in the Search box at the top right of the admin panel) and add the following snippet at the top:
Code:
.mfp-iframe-scaler>div>div>iframe
{
    position: fixed !important;
}
It works for me on my local board, please try it out and if you confirm it works for your use case I'll look into bundling this template modification in the add-on.

I think there's an issue with GitHub Gist URLs. It cuts off part of the gist.
I wasn't aware of that kind of URL. The next update will fix it.
 
  • Like
Reactions: Xon
I'm not going to lie, the whole thing is a mess quagmire. "Responsive width" is achieved through CSS hacks, and here we see the hacks used by Magnific Popup conflict with the hacks used by my add-on even though they both use the same technique. This is nobody's fault, it's just an unfortunate situation.

I have tested a few more hacks solutions locally and I believe the simplest way to fix this issue in the near future would be to edit the xengallery_media_preview.css file (copy/paste the full name in the Search box at the top right of the admin panel) and add the following snippet at the top:
Code:
.mfp-iframe-scaler>div>div>iframe
{
position: fixed !important;
}
It works for me on my local board, please try it out and if you confirm it works for your use case I'll look into bundling this template modification in the add-on.
Thank you, @JoshyPHP, this has worked for me and the videos are now displaying in the Lightbox. Thank you for your efforts to fix this. (y)
 
It's in there, kind of. I didn't specifically use your fix but I remembered there was a padding issue so I added a negative margin that should only apply to my responsive embeds. I don't know why there's a padding in the first place so I'm afraid of possible side effects with other embeds.

This update should fix the lightbox, the size of the videos in the gallery and the padding issue.
 
Thanks. I've reverted that template now and it's just using your solution. Thank you for overcoming the CSS issues to get this to work. :D
 
Hi , sorry if this has been asked and answered previously..

What ever happened to the Experimental page we could visit and then simply pick the ones we wanted to include , since I am only after the Ustream.tv one at the moment...

Again sorry if this has been covered before but I have not been active for a while..

Regards..
 
WoW , Thats was a fast response my friend . Thank You..

Is there any way of turning off the default so that it doesn't overwrite the default media sites.?

Regards
 
No, unfortunately not. It's a bit of a chicken/egg problem because you can't configure the add-on before installing it. The definitions in this add-on are compatible with the default sites though, there should be no loss of functionality. If you had YouTube videos they will still work.

Is there a reason you want to keep the default sites?
 
No not really more a case of I think adding all available in the pack is a bit too much, the more that's added the more work I see in the future if some of the sites codes change.

Only really looking at Ustream.tv as one of members wants to try streaming his channel .. ( God i hope after all this its not Synchronized Swimming )..:ROFLMAO:
 
No not really more a case of I think adding all available in the pack is a bit too much, the more that's added the more work I see in the future if some of the sites codes change.

Only really looking at Ustream.tv as one of members wants to try streaming his channel .. ( God i hope after all this its not Synchronized Swimming )..:ROFLMAO:
You can easily exclude any sites you don't require in the ACP Options for this add-on. I have excluded a whole bunch from the miscellaneous and gaming categories that I don't need.
 
Last edited:
It works for me. Is it an HTTPS forum? TED didn't support HTTPS back when I added it and browsers don't like to mix HTTP and HTTPS.
 
@JoshyPHP are you aware of any case where a media bbcode could result in the code being transformed in something like this?

Code:
http://data:image/jpeg;base64...
 
There's nothing in the add-on that would do that, no. You can send me the URL that caused it or screenshots of the result in private if you don't want to post them in public.
 
Top Bottom