s9e Media Sites

xF2 Add-on s9e Media Sites 2.15.2

No permission to download
Added JSFiddle.
Added experimental support for dark themes. Currently supported: Bandcamp, JSFiddle, Spreaker, Twitter.
Removed FOX Sports. Their video section has been discontinued and all of their URLs return a 404 error now.

As far as I know, Facebook embeds don't currently have a dark mode.

Attachments

  • light.png
    light.png
    33.4 KB · Views: 140
  • dark.png
    dark.png
    36.6 KB · Views: 140
Added Falstad. Thanks to ControlBooth.com for sponsoring this addition.
Fixed an issue with full-width embeds such as GitHub Gist and Google Sheets being limited to 640px. They are now back to 100% width.
  • Like
Reactions: Kilowallow
Added Rumble. Thanks to [H]ard|Forum for sponsoring this addition.
Updated lazy loader. It may help with dynamically-sized embeds (e.g. tweets) being cut off.
Updated Twitter. Tweets are now slightly wider (550px vs 500px) and should load imperceptibly faster.

A word about embedded tweets. At the time of writing, embedding a text-only tweet using Twitter's default method requires 20+ HTTP requests and 3.5 MB of resources. This update reduces both by approximately 10% and saves about 100 ms on loading time on a fast network. It is unclear why Twitter loads 3.4 MB of JavaScript to display ~140 characters of black-and-white text.
  • Like
Reactions: Cdzng
The new CSS should be functionally identical but please feel free to report any potential layout issues.
The style changes introduced in 2.6.11 have been reverted as a precautionary measure.
Unsupported Amazon and BBC News URLs have been excluded.
Lazy loading has been enabled in conversations.

Updated for XFMG 2.2

New CSS has been added for compatibility with XFMG 2.2

You don't have to upgrade if you don't use the XenForo Media Gallery add-on.
  • Like
Reactions: manfromva
New CSS has been added for compatibility with XFMG 2.2

You don't have to upgrade if you don't use the XenForo Media Gallery add-on.
Getty Images now uses HTTPS to retrieve an image's dimensions.
Gfycat is now HD by default.
Added support for more Medium URLs.
Support for Clyp.it has been added.
All phrases used in the add-on's options and footer are now translatable.
Added support for Castos. Thanks to Ask Andy About Clothes for sponsoring this addition.
Stitcher has been updated to support their shortlink URLs.
Vimeo has been updated and remains functionally the same.

Starting with this update, the release version of add-on will be tested on XenForo 2.2.
Top