Definitely all for using something other than iframely. I am getting this error when I restart after installing the plugin though:
/var/www/nodebb/forums/node_modules/nodebb-plugin-youtube-embed/library.js:51
},(res) => {
^
1/7 00:56 [2323] - error: SyntaxError: Unexpected token >
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.Plugins.requireLibrary (/var/www/nodebb/forums/src/plugins.js:42:33)
at registerHooks (/var/www/nodebb/forums/src/plugins/load.js:88:13)
at /var/www/nodebb/forums/src/plugins/load.js:31:6
at /var/www/nodebb/forums/node_modules/async/lib/async.js:718:13
at async.forEachOf.async.eachOf (/var/www/nodebb/forums/node_modules/async/lib/async.js:233:13)
at _parallel (/var/www/nodebb/forums/node_modules/async/lib/async.js:717:9)
at Object.async.parallel (/var/www/nodebb/forums/node_modules/async/lib/async.js:731:9)
at /var/www/nodebb/forums/src/plugins/load.js:29:10
at /var/www/nodebb/forums/src/plugins/load.js:291:5
at /var/www/nodebb/forums/node_modules/async/lib/async.js:726:13
1/7 00:56 [2323] - warn: [plugins] Unable to parse library for: nodebb-plugin-youtube-embed
1/7 00:56 [2323] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset -p PLUGINNAME
to disable it.