same thing with Edge and FirefoxIf you can't load it on its own either, it means the issue is related to the browser. Brave has an option that blocks embedded tweets, my guess is it's enabled in your browser.
Code:brave://settings/socialBlocking
same thing with Edge and FirefoxIf you can't load it on its own either, it means the issue is related to the browser. Brave has an option that blocks embedded tweets, my guess is it's enabled in your browser.
Code:brave://settings/socialBlocking
An exception occurred: [ErrorException] [E_WARNING] Undefined array key "src" in src/addons/s9e/MediaSites/Helper.php on line 239
I don't think so but if you send me the video's URL (here or in DM) I'll take a look at it. It's theoretically possible that blocking referrers may make it available. Either way it won't work around geoblocking. An alternative frontend such as Invidious may be an option, although I haven't tried it personally.Is there anyway around Youtube blocking embedded play?
Edit the post that generates that error (so that you can read it in text form) and send me theNot sure related to this addon of XF itself but after upgrading to 2.3, I started getting the error below:
TypeError: Template public:_media_site_embed_soundcloud error: XF\Util\Str::strtolower(): Argument #1 ($string) must be of type string, null given, called in /home/public_html/src/XF/Template/Templater.php on line 4454 src/XF/Util/Str.php:210
[MEDIA=soundcloud]...[/MEDIA] BBCode that's in it. I'll try it out locally to confirm whether or not I can reproduce that error on my 2.3 board.Thank you, but I was using the newest version already. Our developer said, it must have something todo with PHP 8.3 (wich probably isn't fully supported yet) and the stricter handling of arrays.Try upgrading the add-on because I don't see anything in the current version that could possibly trigger this error.
An exception occurred: [ErrorException] [E_WARNING] Undefined array key "src" in src/addons/s9e/MediaSites/Helper.php on line 239
XF::handlePhpError() in src/addons/s9e/MediaSites/Helper.php at line 239
s9e\MediaSites\Helper::replaceIframe() in src/addons/s9e/MediaSites/Helper.php at line 136
s9e\MediaSites\Helper::s9e\MediaSites\{closure}()
preg_replace_callback() in src/addons/s9e/MediaSites/Helper.php at line 130
s9e\MediaSites\Helper::replaceIframes() in src/XF/Extension.php at line 69
XF\Extension->fire() in src/XF/App.php at line 3319
XF\App->fire() in src/XF/Template/Templater.php at line 1820
XF\Template\Templater->renderTemplate() in src/XF/Template/Template.php at line 24
XF\Template\Template->render() in src/XF/Mvc/Renderer/Html.php at line 50
XF\Mvc\Renderer\Html->renderView() in src/XF/Mvc/Dispatcher.php at line 471
XF\Mvc\Dispatcher->renderView() in src/XF/Mvc/Dispatcher.php at line 453
XF\Mvc\Dispatcher->renderReply() in src/XF/Mvc/Dispatcher.php at line 412
XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 66
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2777
XF\App->run() in src/XF.php at line 798
XF::runApp() in index.php at line 23
My bad, I thought I was looking at the latest version but I was actually looking at a future (unreleased) version, that's why I couldn't find anything that could possibly trigger that error.Thank you, but I was using the newest version already.
s9e_MediaSites_ClickToLoad_Oembed in the search engine (top right, or you can go to the add-on's options directly) and uncheck the Add a title to the click-to-load placeholders where available. It may be related. If it doesn't fix your issue, please send me the text content of any one post that triggers that error so that I can reproduce it locally.I don't think so but if you send me the video's URL (here or in DM) I'll take a look at it. It's theoretically possible that blocking referrers may make it available. Either way it won't work around geoblocking.
https://www.youtube.com/watch?v=UGPrHj1nPt0

If it's an issue on their end [...]
embed.js file, I see that they are missing this fix related to embeds' resizing. Truth Social's embed.js file contains a custom modification that adds a fixed amount of padding set to 165px, which may be an attempt to mitigate issues related to resizing, I don't know.setHeight messages) then the embeds should get resized correctly. I should also mention that their official embed code (seen below) suffers from similar issues. The content isn't resized to the correct dimensions, although you still get to see 165 more pixels of it due to the fixed padding.<iframe src="https://truthsocial.com/@realDonaldTrump/112884145655105485/embed" class="truthsocial-embed truthsocial-video" style="max-width: 100%; border: 0" width="600" allowfullscreen="allowfullscreen"></iframe>
<script src="https://truthsocial.com/embed.js" async="async"></script>
I already did but it didn't fix the issue. It is not a diffrent error message. Admin log error is same. This is what you see in the frontend.That's a different error message, but at least with this one you know what to do: reinstall the add-on and it should be fixed.
Fixes an issue on XenForo 2.3. Other templates may be affected. A global fix will be implemented in a future update.
I looked into the PHP error from earlier and I confirmed it on XF 2.3. Something has changed between 2.2 and 2.3, and other templates may be affected. I'll need to check whether this is the expected behavior in XF 2.3, and if so I'll have to inspect all templates. In the meantime, I manually fixed the SoundCloud template for this specific type of embeds.
We use essential cookies to make this site work, and optional cookies to enhance your experience.