@anotherusername said in When youtube shouldn't embed:
but why?
Why ask me? I'm not a node dev, I just gave my observations.
I'm willing to bet that the 0_ comes from some failed attempt to get the file size at pre-upload time.
It's probably because the plugin was made without the anticipation of in-post meta attributes. What you see is what you get, and it's rather difficult to create things in NodeBB that aren't seen.
For images it's not that big a deal, since (assumedly) you don't see the title text (first file name thing), and aren't going to steal the image directly (hence the second file name), and need some way to distinguish multiple files that happen to have the same name (hence the timestamps).
It's a bodge, for sure. but not one I'm going to defend or attack it. It can be improved, for sure, and so long as someone is willing to do so, I'm fine with that.