[nodebb-plugin-youtube-embed] Forked
-
Re: [nodebb-plugin-youtube-lite] Server side modifications
I forked nodebb-plugin-youtube-lite with my enhancements.
-
Nice good to see youtube plugin updated
-
@torn2 said in [nodebb-plugin-youtube-embed] Forked:
@boomzilla Why do you use this if you use Iframely?
Iframely is not free for high traffic
-
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. -
@pichalite said in [nodebb-plugin-youtube-embed] Forked:
@teh_g what's your node.js version?
the plugin is using ES6 features and are not supported on older versions of node.js
v0.10.25
It is what comes installed when you follow the handy DigitalOcean guide for setting up NodeBB.
-
@pichalite said in [nodebb-plugin-youtube-embed] Forked:
@teh_g you will have to upgrade node.js for the plugin to work.
Ahh, I will have to wait for Ubuntu 16.04.1 so I can upgrade my droplet. Thanks for the info.
-
@teh_g you can use
n
to install a later version of Node if you want. Look up "n install NodeJS" it's super easy.