YouTube regex is a pain. I'm yet to find one that works reliably. If you manage it. I'll amend my lazyload YouTube plugin to match. Too early to deprecate as some may not want all services rolled into one.
@Enrique the main problem you seem to be having is that you are not aware that there is a frontend and a backend to NodeBB. You have to wire up the controls from the ACP and make a call to the backend (via websocket, for example), and then you can call server side libraries.