HI, for some reason members don't see the Amazon product associated with a link, but I can.
Responsive embeds have been improved. From now on, every embed is responsive and scales down on small screen. Embeds with a variable ratio such as Twitch videos or Instagram should be pixel-perfect at any screen size.
The default size for videos has been increased to 640 × 480. Support for custom dimensions has been removed. Individual embeds can be resized in CSS using the [data-s9e-mediaembed] attribute selector.
If you like this update and want to support the continued development of...
[data-s9e-mediaembed] { max-width: 560px !important; }
[data-s9e-mediaembed="youtube"] { max-width: 560px !important; }
What CSS template file do I edit and how?
[data-s9e-mediaembed] { max-width: 560px !important; }
640 x 480 is way too big for my default. Maybe if you could add a place where everyone could set that default (or max dimensions) within the ACP?
They are coming out 400px for the width, but less than 300px for the height so how to fix this?
div[data-s9e-mediaembed]>div { padding-bottom: 75% !important; }
If my math is right, you can try adding the following to your CSS:
Code:div[data-s9e-mediaembed]>div { padding-bottom: 75% !important; }
.mediaContainer .videoContainer div {
margin-top: 0;
}
Server Error Log
Error Info
ErrorException: Fatal Error: syntax error, unexpected ';' - library/s9e/MediaBBCodes.php:1367
Generated By: Unknown Account, 18 minutes ago
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
["url"] => string(98) "http://www.seniorgamers.net/threads/is-this-what-playing-an-arcade-game-felt-like-as-a-child.2462/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
.videoContainer>[data-s9e-mediaembed]
{
max-width: 100% !important;
}
[data-s9e-mediaembed]>div>iframe
{
left: 0;
}
It looks like it, yes. There's no ';' at line 1367 so I guess it happened while you were uploading the new version. Theorically, the correct way to update files is to upload them to a temporary directory and then move them to the correct destination to make the operation atomic. However, it's super boring and no one actually does that unless it's their job. If your server supports SFTP, WinSCP's author says it supports atomic uploads via SFTP.Looking at the time of the error, that was around the time that I carried out the upgrade so I don't know if it's a one-off?[/USER]
Fixed responsive embeds alignment in centered text and position in XFMG galleries
Thanks for the info. I'm a Mac user and use Cyberduck which I don't think supports this.If your server supports SFTP, WinSCP's author says it supports atomic uploads via SFTP.
Thanks for the speedy update! I've now updated and this has fixed everything. Thank you.@Martok It took less time than I thought so I published an update right away. I quickly tested it locally and it seems to work fine but I don't normally use XFMG so I wouldn't necessarily notice if something's amiss. Please update and check it out for yourself, thanks.
We use essential cookies to make this site work, and optional cookies to enhance your experience.