s9e Media Sites

xF2 Add-on s9e Media Sites 2.15.2

No permission to download
This update fixes an issue with XenForo 2.3 that causes embeds to be loaded eagerly (rather than lazily) if the user is an administrator and template names debugging is enabled.

Also, somehow Palpatine returned Bleacher Report was still present in last update. It's now been properly removed.
  • Like
Reactions: BattleKing
BleacherReport's embedded player has apparently disappeared and currently returns a 404 error. To my knowledge, there is no workaround. If you use a custom BBCode to display media content, t...//imgur.com/upload to a non-functional embed.
  • Like
Reactions: BattleKing
XenForo 2.3 adds a new feature allowing public content to be embedded in any page. This update adds support for your forum to embed the publicly accessible content of any XenForo 2.3+ forum that has enabled this feature.

How to configure: go to your admin panel, go either to this add-on's options or to the XenForo entry in the BB code media sites menu, then add the hostname of the XenForo 2.3+ forum you want to embed from. Make sure that the target website runs XenForo 2.3, which at this time is a very short list.

1710857550900.png
  • Like
Reactions: BattleKing
Added support for more URLs, updated the player's dimension.

Mastodon now supports more types of URLs. Also, the list of allowed hosts can now be edited on the Mastodon media site page directly rather than in the add-on's options.

Other miscellaneous changes include:
  • Bits and options related to the now-defunct Amazon embeds have been removed. The temporary Amazon media site is still present and associate tags are still handled. There should be no functional change compared to previous version.
  • The requirements have been officially bumped to XenForo 2.2, as I don't think anybody is running XenForo 2.1 on PHP 8.0.
  • The Find in page feature now works with unquoted attributes.
  • Some unused code has been removed, some PHP declarations added. No functional change intended.
URLs on the captivate.fm domain(s) are directly supported. Players embedded on custom domain/websites can be found through the "Find in page" option in the "Insert media" dialog of the post editor.
As of January 1st, 2024, Amazon has discontinued their Product Link widget. That's the little snippet that shows the product with its name and its current price, which this add-on used. There is no replacement planned and therefore Amazon will be removed from this add-on at some point in the future. I will publish the cutoff date beforehand, with more time to react than Amazon gave their own associates.
For now, I have replaced all Amazon embeds with a text link so that you don't end up with a blank space where the Amazon product widget was. If you have configured an associate ID, it will be added to the link as well. Consider this a temporary fix, so you should start considering an alternative if affiliate links are an important feature to you. I have tried Amazon/eBay Parser 2.1.2 Patch Level 1 locally and it worked as expected, but I strongly recommend properly testing any add-on yourself.
Updated:
  • Facebook: minor style change. A white background has been added to fix the issue with Facebook's transparent/unreadable posts on dark styles.
  • IMDb: it looks like they might be phasing out their embedded player. It's still working for now.
  • Podbean: misc updated to keep up with their markup.
  • Misc coding changes in the lazy loader. No functional change intended nor expected.

Removed:
  • NBC Sports: their video section is dead.
  • Stitcher: they were acquired by Pandora in 2020, which shut down the Stitcher app and website a couple of months ago.
  • Like
Reactions: Redbear
Fixed a bug introduced in 2.12.6 that prevents embeds from loading if the theme does not have a sticky header. If you have installed 2.12.6 and one of your theme does not have a sticky header, you'll want to upgrade to this version.
  • Like
Reactions: BattleKing
This update contains small modifications to the lazy loader that shouldn't have any noticeable effect. You can keep reading if you're interested in the details.

This update makes use of contemporary JavaScript features to replace boilerplate code with native JavaScript features such as destructuring assignment and the spread syntax. It also adds some small efficiency improvements related to dynamically-sized embeds such as tweets. I do not expect those changes to be noticeable or produce undesirable side effects.

An upcoming update will feature some more fundamental changes intended to improve the experience of the most observant users as well as users with slow connections (e.g. mobile.) That upcoming update will have a greater potential to introduce unintended side-effects, and if that's the case it will be easier to diagnose them separately.

https://github.com/s9e/xenforo-ext-media-sites/compare/ccfcff34268966c737c6cddfe76b90ef9a11e624...8f59772bfc0536a42bd08e7506ceed5ad2e6875f#diff-02163a0bc7c332252c268e47235b78fe1f37867d3cc26505ba114bbfcedf82e9
Facebook is being wishy-washy about reels so it's possible they won't work at times. Probably growing pains that'll disappear once the product matures.
Top