So it sounds like "use a custom URL" should be default then? Why is "use the default media" the default option?
That's so it matches XenForo's default behaviour. Using a custom
[URL] BBCode only works while the add-on is installed, so if you were try the add-on for a little while before uninstalling it, the videos posted while the add-on was enabled would turn into text links. Otherwise yes, if you intend to keep the add-on enabled the custom
[URL] BBCode has a number of benefits.
The alternative would be to create a tool that converts one form to another, but that would take a while to implement and I'm not sure the benefit-cost ratio is there. The custom
[URL] to
[MEDIA] conversion used before uninstalling is straightforward, but the
[MEDIA] to custom
[URL] conversion is only possible there's a link to the original URL, and even then it's a bit fuzzy because the markup is configurable.
My point was that if this addon would add a source link with embed link in post content, it would end up posting two links in the above scenario when embeds do not work anymore. That does not happen, because the source link is created by the addon and is not added to post content.
That's correct and by the way, let me know if you happen to come across a situation where there's two links or zero links. It's theoretically possible but I don't know how likely that is in practice. I'm not aware of any way to trigger it as a user.
Installed this to fix my issue with x.com from twitter not embedding properly. Looks like it does a great job from what I can tell
Thanks, I go to great length to ensure that social media sites remain up to date, and that their content is displayed smoothly: quickly and with little to no
content layout shift. Especially, I make a point to embed social media content
without executing their JavaScript code on your domain so it doesn't interfere with the user experience.
I'm assuming if I ever uninstall this, I'll get back the default media sites (twitter, etc) as shipped with XF?
Yes, the default media sites are re-installed if the add-on is uninstalled. Anything that is supported by default in XenForo should still work.
Awesome, thanks a lot.
