s9e Media Sites

xF2 Add-on s9e Media Sites 2.18.5

No permission to download
The handling of line breaks around media embeds has been changed to match the text layout more closely and be more consistent with XenForo's default media sites:
  • When two BBCodes are on the same line, the two embeds are on the same line.
  • When two BBCodes are on consecutive lines, the two embeds are on consecutive lines.
  • When two BBCodes are separated by a blank line, the two embeds are separated by a blank line.

The default behaviour in XenForo is similar, with the difference that it is not possible to have two embeds on the same line using XenForo's default media sites. The technical implementation is different though: while XenForo uses block elements and removes line breaks around media embeds, this add-on uses inline blocks and does not remove line breaks after its embeds.

You can tweak the layout of this add-on's embeds in CSS via your extra.less template. For example, you can force this add-on's embeds to be displayed as block elements using the following snippet:
Code:
[data-s9e-mediaembed] {
    display: block;
}
  • Like
Reactions: BattleKing
This is a recommended upgrade if you're running 2.7.0 or later.
Added support for private Vimeo URLs.
Changed URL matching to match host names case-insensitively. The rest of the URL remains case-sensitive.
This update contains a new feature that you will find in the add-on's option or the "Media embedding" section of your admin panel. It will add a selector that will affect how embedding media works. You will get to choose between the regular [MEDIA] tag (which is the default position) or a customized with a media attribute. Here is an..."]https://www.youtube.com/watch?v=QH2-TGUlwu4[/CODE]
urlmedia.png

For all intents and purposes, this is a URL BB Code that will be automatically be transformed into a YouTube video when viewed in a rich HTML page. However, if the YouTube media site is disabled or if this add-on is disabled, it will be displayed as a normal link, possibly unfurl'ed as per XenForo's configuration.

This feature is quite new and there may be unforeseen side-effects so please report any issues in the discussion thread.

Thanks to @Xon from Sufficient Velocity for sponsoring this update.
  • Like
Reactions: BattleKing
Updated Acast and Vimeo
  • Like
Reactions: BattleKing
Compatibility with the default media sites installed by XenForo 2.2 has been improved both ways; Most media that were embedded using a default media site work seamlessly after the add-on is installed. Media embedded via this add-on still work if the add-on is uninstalled, provided the media is supported by XenForo's default media sites. The new additions include support for SoundCloud, Spotify, and YouTube playlists.

Support for PHP 8.1 has been improved.
Odysee is currently having some reliability issues. This update aims to mitigate some of the effects.
  • Like
Reactions: BattleKing
Added support for Audius links. Thanks to Zoints for sponsoring this update.
Added support for Facebook group posts.
Updated Acast, Medium, TrendingViews, and 247Sports.
The miniplayer has been enabled on mobile in portrait mode.
View attachment 255158 View attachment 255156
Top