s9e Media Sites

s9e Media Sites 2.15.0

No permission to download
Q: How can I request a new site to be added?
A: New additions are focused on popular and trending sites. If you know of a particularly popular site whose content can be embedded, you can inquire about it in the discussion thread. Don't forget to include an example of a URL whose content can be embedded. Alternatively, you may start a conversation with me if you want to sponsor the addition of a site. Otherwise, you can always create new media sites for yourself using XenForo's BB code media site manager. This is a default XenForo feature that requires no add-on.

Q: Does this add-on replace the default media sites?
A: Yes, it replaces several of XenForo 2.0 media sites such as Twitter or YouTube. The new versions of those media sites are backward compatible, with the exception of Tumblr posts which may need to be re-embedded to work.

Q: Does this add-on work on XenForo 2.1?
A: Technically yes, but starting with version 2.11.0, this add-on requires PHP 8.0 which is not currently supported by XenForo 2.1. The last version of this add-on that supports PHP 7.4 is version 2.10.5.

Q: Are the embeds responsive and how can I change their size?
A: All the embeds are responsive and will scale down with the screen size. Most video players are limited to 640 × 360 to avoid taking up the entire screen on desktop browsers. You can change their size in CSS. For instance, if you want YouTube videos to be displayed in 1280 × 720 you can add the following to your extra.less template(s):
CSS:
[data-s9e-mediaembed="youtube"] { width: 1280px !important; }
If you prefer all of the videos to take up as much screen as possible, go to the add-on's options and enable the option titled Enable full-width embeds by default.

Q: I don't want to install all of those sites, what can I do?
A: First off, if you're worried about performance, don't be. A hundred of media sites only add a millisecond to the time it takes to send a new post and does not affect any other action such as reading a thread. With that said, you can permanently disable a media site in your admin panel, in the Content section under BB code media sites.

Q: There used to be an option to speed up threads with many videos, where did it go?
A: The add-on is designed to defer loading embeds until they are displayed on screen. This is generally referred to as lazy loading and it is turned on by default.

Q: What is https://s9e.github.io and how is it used?
A: It has become a popular pattern among social websites such as Facebook and Twitter to provide embeddable content not in the form of an iframe but as a JavaScript executable. There are several issues with this approach; Firstly, some of them only work during the initial page load and not in the post's preview. Secondly, it gives the third party content providers complete control over the current page. To sidestep those issues, this add-on uses a separate iframe that acts as a sandbox to isolate your website from those third parties. This iframe is hosted on GitHub as a small (~1 KB) static HTML file. You can view an example of it on this page. The details of the embeddable content (such as the tweet's ID) are stored in the fragment part of the address, meaning that it is not sent to the GitHub server.

Q: ( ͡° ͜ʖ ͡°)?
A: ( ͡° ͜ʖ ͡°)
Top Bottom