s9e Media Sites

xF2 Add-on s9e Media Sites 2.15.2

No permission to download
The lazy loader has been updated to load visible elements more aggressively. In previous versions, the lazy loader would wait up to 3 seconds for the rest of the page to completely load before displaying embedded content. Starting with this update, visible (on-screen) elements are loaded immediately and will compete for resources with the rest of the page. This will prevent slow resources such as ads and large images from delaying embedded content.
Added CodePen.
Added TradingView. Thanks to Cryptoevo.de for sponsoring this addition.

Retries (up to 10) have been enabled for click-to-load placeholders that use oEmbed.
MSNBC has been updated.
The add-on's CSS has been updated to correctly handle long titles.
The oEmbed logic has been updated to limit the number of concurrent fetches to prevent resource exhaustion. The number of fetches is limited to 1 per page, with a maximum of 3 concurrent fetches across processes.

This is a recommended update if you use the click-to-load feature with oEmbed enabled.
  • An option has been added to display the video's title in the placeholder used when "click-to-load" is enabled.
    ⚠ This option may cause issues on highly trafficked sites with numerous videos. Use with caution. ⚠
  • The option to disable auto-embedding links on a per-site basis has been extended to all media sites.
  • Twitch has been updated to support new clip URLs.
  • The add-on's CSS has been split on a per-feature basis to reduce its size when some features are disabled.

A word about adding video titles to the "click-to-load" placeholders. The name of the video is retrieved via oEmbed, using XenForo's oEmbed service. The data is cached in the database according to your oEmbed settings. If the data is already in the database, a single sub-millisecond query is all that's needed to retrieve the title of all the videos on the current page. Otherwise, it is fetched from YouTube's service which is typically fast but can add up to a second to the page loading time, so make sure your oEmbed cache is set to a comfortable value. The default is 7 days but it can be increased to 30 days or more, even indefinitely.

Below are screenshots of a typical YouTube video using the default embed, the click-to-load placeholder with oEmbed enabled, and with oEmbed disabled.

Attachments

  • c2l.jpg
    c2l.jpg
    20.3 KB · Views: 228
  • c2l-oembed.jpg
    c2l-oembed.jpg
    23.4 KB · Views: 199
  • default.jpg
    default.jpg
    26.6 KB · Views: 200
Added a new option to replace the YouTube player with a lightweight placeholder. The placeholder is a single image with no text that loads and starts the YouTube player when clicked.

Updated Audiomack and Twitch. Note that the new Twitch embed only works on HTTPS sites that are served on port 443 at the moment. Hopefully Twitch will relax those restrictions.

Obsolete workarounds for the Vimeo and YouTube embeds have been removed.
This is the same workaround as this previous update.

If Vimeo videos don't load on Safari because of Domain Level Privacy, check the "Use the default Vimeo embed" option. Otherwise, don't.
  • Like
Reactions: DESALIN
This revision contains fixes a CSS injection issue in some of the templates.

The CSS issue was reported by ThemeHouse's Jake B.
  • Like
Reactions: lagrace and DESALIN
Marketplace URLs are now ignored.
Top