s9e Media Sites

Add-ons s9e Media Sites 2.15.5

Register & Get access to index
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:

CSS:
[data-s9e-mediaembed] {
    display: block;
}
  • 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.
Back
Top Bottom