Well, with something like this, I'd look at the alternatives - namely the youtube bbc or similar. None of those show the title after the video, nor do any of them have a convenient link either.
I'm not bothered with the title (and does this mean you can avoid the lookup aspect?)
Yes, it would.
But lookups aren't only for titles. They also fetch information such as whether embedding is allowed (for YouTube). This is the kind of information I like having around.
but the link to the video would be useful to have.
I could always show it on hover... (although I don't think hover works on a Flash item...? Or maybe it works if I put the hover on the container div... Will try that.)
I'd note that vbgamer's mod supports about 60 sites these days and he does add new ones reasonably easily.
It's just as easy for Aeva, unless you want to support the extra features.
Well, in terms of features SAVE is limited to doing a preg_replace on the URLs. Of course it also probably makes it a bit faster than Aeva, but it also prevents it from things like disabling embedding after X embeds on a page. (Easy way to crash browsers that don't push their Flash content into a separate process... Heck, it can even crash browsers that do.)
He can't support a noembed tag either... (Can probably be emulated through nobbc, but in any way, it means these links wouldn't even be clickable...)
Or things like 'disable embed in quotes/sentences'.
Basically, it's limited. Not something I'd ever want to do!
What would be ideal is if it becomes possible to provide new auto embed options easily (i.e. as a plugin) and if that's doable we can farm all the smaller ones out to plugins and then create plugins as needed.
I considered that, but (1) I don't have enough knowledge in the plugin system, (2) I could care less about these sites anyway...
Honestly, the extra weight of the url surroundings in the database is small enough not to worry about, and the performance benefit is worth the effort, IMHO.
Okay, then.
So, I'm leaving autolinking in for now. But in both parse_bbc() and aeva_onposting (which means we both lose database space AND not benefit from it at all), because I don't want to go through the process of reparsing posts through an importer. (Heck, that would also mean older Wedge.org URLs are broken...)
(Not that it's vital, though.)
One thing to note is that aeva_onposting would best be placed inside preparsecode(), but Post2.php doesn't always call it, as I mentioned in my thoughts.
Right now, my 'fix' was to call it as well from JSModify.php, because that's something that I forgot to import from Aeva 7's xml files -- believe it or not, I actually skipped that bit and this is the reason why quick edit never properly preparsed a video link...