s9e Media Sites

s9e Media Sites 2.16.7

No permission to download
Hello. Thank you for the Huge work with this addon. Can you telle me what is the last version comptabile with Xenforo 2.1.14

Thanks
 
@JoshyPHP , wondered if you had any idea why Twitter embeds sometimes change the aspect ratio of the image in the embedded tweet requiring people to click on the image, which opens Twitter, instead of it just disaplying as the image is originally displayed on Twitter.

Here you can see the white picture is normal/readable:
IMG_5517.webp

Here you can see the picture requires you to click on it to read it when it's embedded on my forum:
IMG_5518.webp

I wondered if I screwed anything up with all my add-ons or extra.less edits so that the image inside the tweet was doing that.

Thanks as always!
 
I wondered if I screwed anything up with all my add-ons or extra.less edits so that the image inside the tweet was doing that.
pretty easy to get embed code right from twitter, save it in a local file and open it to see how it is supposed to render completely independent! Twitter also shows a preview on the embed code page.

1725014735321.webp
 
I wondered if I screwed anything up with all my add-ons or extra.less edits so that the image inside the tweet was doing that.
You can't affect the content inside of the tweet, as your CSS cannot apply to something hosted on Twitter. Judging by your screenshots, the image is cropped differently when the tweet is smaller.

Any plans to include Dubz?
Not at the moment, no.
 
Had a user report an overlap bug:

1725231113888.webp

View: https://forum.ragezone.com/threads/...neration-emulator.1230556/page-4#post-9283909

Cheers.

EDIT;
The offender data-s9e-mediaembed is these two variables;

Code:
vertical-align: top;
width: 640px;

Nulling it resolves it minus some poor styling choices;

1725231388828.webp
 
Had a user report an overlap bug:
I'm not sure what issue is being described there; Embeds appear where they are placed in the post. If the embed is in the middle of a sentence, it will appear in the middle of that sentence. The way browsers work is they will treat that embed as if it was a very big letter. Below is what regular text looks like when different sizes are used in the same sentence:
This is some text X more text.

As you can see, the big letter pushes the rest of the text towards the bottom. Tweets are much bigger than regular text and would push the text so far down that it may not even be on the same screen as the top of the tweet; That's why I opted to add a vertical-align: top rule that keeps the text where it would have been normally and instead force the embed to expand towards the bottom. Here's an example of how it looks like with the rule vs without the rule:
default.webpbottom.webp

If you want to change the way things are displayed, you can do so without editing anything related to the add-on. XenForo has a special template named extra.less that you can edit in your admin panel to add your own CSS to any page. For example, you can try either of the following rules:
CSS:
[data-s9e-mediaembed]
{
    vertical-align: bottom;
}
[data-s9e-mediaembed]
{
    display: block;
}
 
Hello,

First of all, thank you for the great work on this add-on!

I have an issue with it on my test server. I'm testing the new Xenforo 2.3 and using PHP-8.3.10 and Xenforo 2.3.3.
I rolled back to PHP-8.2 but the error is still present.

Here is the error:
An exception occurred: [ErrorException] [E_WARNING] Undefined array key "src" in src/addons/s9e/MediaSites/Helper.php on line 239

  1. XF::handlePhpError() in src/addons/s9e/MediaSites/Helper.php at line 239
  2. s9e\MediaSites\Helper::replaceIframe() in src/addons/s9e/MediaSites/Helper.php at line 136
  3. s9e\MediaSites\Helper::s9e\MediaSites\{closure}()
  4. preg_replace_callback() in src/addons/s9e/MediaSites/Helper.php at line 130
  5. s9e\MediaSites\Helper::replaceIframes() in src/XF/Extension.php at line 69
  6. XF\Extension->fire() in src/XF/App.php at line 3368
  7. XF\App->fire() in src/XF/Template/Templater.php at line 1820
  8. XF\Template\Templater->renderTemplate() in src/XF/Template/Template.php at line 24
  9. XF\Template\Template->render() in src/XF/Mvc/Renderer/Html.php at line 50
  10. XF\Mvc\Renderer\Html->renderView() in src/XF/Mvc/Dispatcher.php at line 471
  11. XF\Mvc\Dispatcher->renderView() in src/XF/Mvc/Dispatcher.php at line 453
  12. XF\Mvc\Dispatcher->renderReply() in src/XF/Mvc/Dispatcher.php at line 412
  13. XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 66
  14. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
  15. XF\App->run() in src/XF.php at line 806
  16. XF::runApp() in index.php at line 23

Thank you!
 
Last edited:
I have an issue with it on my test server. I'm testing the new Xenforo 2.3 and using PHP-8.3.10 and Xenforo 2.3.3.
It's been reported before but I haven't been able to reproduce it locally. Can you isolate the BBCode that generates this error? It should be something like [MEDIA=xxxx]....[/MEDIA].
 
It's been reported before but I haven't been able to reproduce it locally. Can you isolate the BBCode that generates this error?
I have this one:
Code:
This question comes up a ton so I decided to make a video

[MEDIA=youtube]PuWeXQ6i2Lw[/MEDIA]

and also this one on another page:
Code:
I was just watching this, very much what you're talking about.



[MEDIA=youtube]aWUAzvhubTc[/MEDIA]

Thanks for looking into it!
 
i'm struggling with an Instagram post.

any ideas why this won't work?

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
any ideas why this won't work?
My guess is that this user has disabled the embedding feature. If you go to the Instagram page and click the "More options" button ··· it usually has an option to "Embed" the post, but not in this case; It's absent. I suppose the author disabled it because that's not the first time I see something like that.
 
Looks like Telegram broke embeds...


Embed still works but no content appears and it tells you to open the post in Telegram to read the content.

Just posting here as a fyi.

For some reason the dummy embed at the bottom of the page does work. But the embed is broken as mentioned above.
 
Back
Top Bottom