Tiny little youtube videos with youtube lite plugin

Technical Support
  • I'm aware that the youtube lite plugin isnt offical, but I really need some help here. Suddely, all my youtube videos are miniature:


    Everywhere on the forum. Can anyone tell me why?

  • Well the issue is this line is missing from your CSS

    iframe.lazytube {
        border: 0 none;
        height: 360px;
        width: 640px;

    As for why, I'm not 100% sure.

    Can you try running ./nodebb restart immediately followed by ./nodebb log and seeing if it logs any errors minifying the CSS.

    Can you also check what version of the plugin and what version of NodeBB you are running. Go into your node_modules folder, followed by the nodebb-plugin-youtube-lite/static/ folder and check you have a file called style.less. If this isn't being minified with your stylesheets on NodeBB load, then you will see this issue.

    Also thanks for using my plugin. 🙂

  • Thanks for the personal reply, @a_5mith .

    Restarting initially appeared to fix the issue, and actually has fixed that issue, but suddenly now its turning every single link into an attempted imbed. I didn't change anything, at all, except run a restart, its worth noting.


    It was working, then suddenly over a restart it stopped working, and now its gotten over eagar and is trying to pick up every link as an embed.

    As for nodebb version and plugin version, they are respectively:
    NodeBB v0.7.1.

    NodeBB Youtube Lite Plugin - Installed 0.4.1 | Latest 0.4.0

Suggested Topics

  • 0 Votes
    7 Posts

    @baris Thanks a lot, it's working now ^_^
    I will wait for the RSS plugin 🙂

  • 0 Votes
    9 Posts

    @pitaj JS is enabled in the browser.
    But only preload the jQuery library using JS Custom Help.
    Now it's ok 🙂

  • 0 Votes
    2 Posts

    Never mind - after looking at the slick theme, I realised that partials/breadcrumbs is being included at the top of the file, so this is the intended target 🙂

  • 0 Votes
    1 Posts


    I am attempting to use the nodebb-plugin-sso-oauth plugin to implement SSO with CAS into my forum.

    We are based on Apereo CAS.

    My CAS is using Oauth2. I have POST methods with urls for request code (authorization), request access token, and request profile.

    I have installed the plugin and set up nconf to use my constants.

    I activated the plugin and refreshed my nodebb forum.

    It is now crashing upon starting and I get the following error.

    24/7 00:37:39 [29650] - error: message=Cannot read property 'length' of undefined, stack=TypeError: Cannot read property 'length' of undefined
    at pathtoRegexp (/root/nodebb/node_modules/path-to-regexp/index.js:63:49)
    at new Layer (/root/nodebb/node_modules/express/lib/router/layer.js:45:17)
    at Function.use (/root/nodebb/node_modules/express/lib/router/index.js:464:17)
    at Function.<anonymous> (/root/nodebb/node_modules/express/lib/application.js:220:21)
    at Array.forEach (<anonymous>)
    at Function.use (/root/nodebb/node_modules/express/lib/application.js:217:7)
    at module.exports (/root/nodebb/src/routes/index.js:139:7)
    at /root/nodebb/src/webserver.js:99:4
    at fn (/root/nodebb/node_modules/async/lib/async.js:746:34)
    at /root/nodebb/node_modules/async/lib/async.js:1213:16
    at /root/nodebb/node_modules/async/lib/async.js:166:37
    at /root/nodebb/node_modules/async/lib/async.js:706:43
    at /root/nodebb/node_modules/async/lib/async.js:167:37
    at Immediate._onImmediate (/root/nodebb/node_modules/async/lib/async.js:1206:34)
    at runCallback (timers.js:810:20)
    at tryOnImmediate (timers.js:768:5)

    My guess is that for some reason, path is being passed as undefined.

    I am stuck and in need of help.

    Please provide feedback or recommendations for how I can implement CAS Single Sign On into my nodebb forum.

    Thank you,

  • 0 Votes
    4 Posts

    @baris said in Recent Cards Plugin - Invalid Date:

    This is fixed in the latest version of the plugin just waiting for @psychobunny to publish to npm.

    thanks 🙂