1 - eh, its debateableI don't think so, but anything's possible.
- Does the text editor feel faster when you disable deferred loading?
- Do you somehow scroll or resize the page continuously while editing the text?
- How many embeds on the page approximately?
- What browser is it?
I figured as much but I wanted to get your take on it. It definitely improves the browsability with Firefox though.When deferred loading is disabled, the page contains no extra code whatsoever so if it was related you should see a difference.
When deferred loading is enabled and there's no embedded media on the page, nothing happens.
When deferred loading is enabled and there are deferred iframes on the page, there's a very small piece of code (virtually instantaneous) executed every 100ms and a bigger routine executed 200 ms after you stop scrolling or resizing the page. With ~100 iframes on the page it takes ~1 ms on my desktop computer. If there are more than 3 deferred iframes, there's another routine run once per minute that unloads iframes that are not visible to reclaim some memory. It takes 1-5 ms for 100 iframes.
I don't think any of those could interfere with the editor's responsiveness.
ErrorException: Missing argument 4 for s9e_MediaBBCodes::match() - library/s9e/MediaBBCodes.php:602
#0 XXXXXXXXXXX/library/s9e/MediaBBCodes.php(602): XenForo_Application::handlePhpError(2, 'Missing argumen...', 'XXXXXXXXXXX/...', 602, Array)
#1 [internal function]: s9e_MediaBBCodes::match('https://www.you...', 'P5MqJ2ZlhQw', Array)
#2 XXXXXXXXXXX/library/sonnb/XenGallery/Model/VideoData.php(325): call_user_func_array(Array, Array)
#3 XXXXXXXXXXX/library/sonnb/XenGallery/Model/VideoData.php(142): sonnb_XenGallery_Model_VideoData->_getMediaKeyFromCallback('https://www.you...', 'P5MqJ2ZlhQw', Array)
#4 XXXXXXXXXXX/library/sonnb/XenGallery/ControllerPublic/XenGallery/Video.php(262): sonnb_XenGallery_Model_VideoData->parseMediaUrl('https://www.you...')
#5 XXXXXXXXXXX/library/XenForo/FrontController.php(347): sonnb_XenGallery_ControllerPublic_XenGallery_Video->actionEmbedVideo()
#6 XXXXXXXXXXX/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 XXXXXXXXXXX/index.php(13): XenForo_FrontController->run()
#8 {main}
array(3) {
["url"] => string(51) "http://XXXXXXXXXXXXXXX/galerie/videos/embed-video"
["_GET"] => array(0) {
}
["_POST"] => array(8) {
["url"] => string(43) "https://www.youtube.com/watch?v=XXXXXXXXXXXXX"
["_xfToken"] => string(8) "********"
["content_data_hash"] => string(32) "XXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
["album_id"] => string(3) "314"
["insert"] => string(8) "Insérer"
["_xfRequestUri"] => string(35) "/galerie/albums/XXXXXXXXXXXXXXXXXX/add-video"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
public static function matchCallback($url, $matchedId, array $site, $siteId)
Thanks for tagging. Seem XF changed the signature in some older releases. I will update this.Judging by the error message it's a bug in sonnb_XenGallery_Model_VideoData. In XenForo 1.4, media site callbacks take 4 arguments but it only provides 3. The signature, taken from XenForo's media site form is as follows:
Tagging @sonnb to save you some time.Code:public static function matchCallback($url, $matchedId, array $site, $siteId)
- Updated Imgur. They have changed some markup related to image albums.
- XenForo limits the size of iframes in quotes but the CSS does not apply to the wrapper needed to make them responsive, which results in blank space around the embed. This update fixes that.
- Shortened the attribution notice to make it fit on the same line as XenForo's copyright on my screens
This update changes the error message that is displayed when this add-on is installed on an outdated version of XenForo (<1.4) or used with an add-on that's not fully compatible with XenForo 1.4.
I've thought about it but I don't think it's a good fit, sorry.Could you add KissAnime and KissCartoon?
No, unfortunately that's impossible at the moment. XenForo discards the original URL and the add-on does not save it either. The best workaround at the moment is to not use the "Media" button and post URLs directly, and to go to your Admin CP and look for the option that automatically turns links into embedded media. The option has 3 settings, the third one adds a link under the embedded media.Is there a way to make the add-on output the original link under the embed?
I've thought about it but I don't think it's a good fit, sorry.
No, unfortunately that's impossible at the moment. XenForo discards the original URL and the add-on does not save it either. The best workaround at the moment is to not use the "Media" button and post URLs directly, and to go to your Admin CP and look for the option that automatically turns links into embedded media. The option has 3 settings, the third one adds a link under the embedded media.
[MEDIA=youtube]AJtDXIazrMo[/MEDIA]
[MEDIA=youtube]id=AJtDXIazrMo;meta-url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DAJtDXIazrMo[/MEDIA]
@DRE: if you're using Chrome, it seems it doesn't like the Flash MIME type. Try removing type="application/x-shockwave-flash" typemustmatch="" from the embed HTML. Not sure what to make of that though. :\
[MEDIA=audiomack]2dbz/amethyst[/MEDIA]
We use essential cookies to make this site work, and optional cookies to enhance your experience.