Skip to content

NodeBB inline videoplayer

Solved Customisation
12 2 4.5k 1
  • wrote on last edited by Panda
    #1

    Since starting my nodebb forum I had many attempts at installing a player to show youtube inline rather than redirecting to youtube page.
    it would have been great if there was one listed in the searchable plugins but as there wasnt, I found one on github
    ns-embed
    I installed it from CLI, but it doesn’t do anything.
    Does anyone know why that might be?
    Im curious if this site has embedded video, so trying

    Edit: it works, which plugin is used?

  • @phenomlab yes, youtube links still not showing inline
    Where do I find that rules page to accept?

    wrote on last edited by
    #11

    @eveh have a look in /admin/plugins/embed

  • Since starting my nodebb forum I had many attempts at installing a player to show youtube inline rather than redirecting to youtube page.
    it would have been great if there was one listed in the searchable plugins but as there wasnt, I found one on github
    ns-embed
    I installed it from CLI, but it doesn’t do anything.
    Does anyone know why that might be?
    Im curious if this site has embedded video, so trying

    Edit: it works, which plugin is used?

    wrote on last edited by
    #2

    @eveh It is in fact nodebb-plugin-ns-embed. If you install this, out of the box, it should work - or you can try the below

    c31b4450-1020-4320-8b7f-e617b2b4d604-image.png

    Does this not work for you ?

  • @eveh It is in fact nodebb-plugin-ns-embed. If you install this, out of the box, it should work - or you can try the below

    c31b4450-1020-4320-8b7f-e617b2b4d604-image.png

    Does this not work for you ?

    wrote on last edited by Panda
    #3

    @phenomlab
    i did

    npm install nodebb-plugin-ns-embed
    

    in the terminal
    Nothing happened (after rebuid and restart of forum)
    The box you show above, where should I have seen that?

    I never saw anything giving me the option to use default rules

  • @phenomlab
    i did

    npm install nodebb-plugin-ns-embed
    

    in the terminal
    Nothing happened (after rebuid and restart of forum)
    The box you show above, where should I have seen that?

    I never saw anything giving me the option to use default rules

    wrote on last edited by
    #4

    @eveh After you install any plugin, it has to be activated. Check /admin/extend/plugins#deactive, activate it, then rebuild and restart.

  • @eveh After you install any plugin, it has to be activated. Check /admin/extend/plugins#deactive, activate it, then rebuild and restart.

    wrote on last edited by Panda
    #5

    @phenomlab said in NodeBB inline videoplayer:

    @eveh After you install any plugin, it has to be activated. Check /admin/extend/plugins#deactive, activate it, then rebuild and restart.

    Is this from the terminal. If I go to nodebb directory there is no admin directory below that?
    If you mean go on the forum admin to Extend>plugins, that NS player is not in the list still

  • @phenomlab said in NodeBB inline videoplayer:

    @eveh After you install any plugin, it has to be activated. Check /admin/extend/plugins#deactive, activate it, then rebuild and restart.

    Is this from the terminal. If I go to nodebb directory there is no admin directory below that?
    If you mean go on the forum admin to Extend>plugins, that NS player is not in the list still

    wrote on last edited by
    #6

    @eveh Sorry, no - this is from the ACP.

  • @phenomlab said in NodeBB inline videoplayer:

    @eveh After you install any plugin, it has to be activated. Check /admin/extend/plugins#deactive, activate it, then rebuild and restart.

    Is this from the terminal. If I go to nodebb directory there is no admin directory below that?
    If you mean go on the forum admin to Extend>plugins, that NS player is not in the list still

    wrote on last edited by
    #7

    @eveh said in NodeBB inline videoplayer:

    If you mean go on the forum admin to Extend>plugins, that NS player is not in the list still

    Does it appear under the “inactive” tab ?

  • @eveh said in NodeBB inline videoplayer:

    If you mean go on the forum admin to Extend>plugins, that NS player is not in the list still

    Does it appear under the “inactive” tab ?

    wrote on last edited by
    #8

    @phenomlab Ah yes 🙂

  • @phenomlab Ah yes 🙂

    wrote on last edited by
    #9

    @eveh Good. Activate it, then rebuild and restart.

  • @eveh Good. Activate it, then rebuild and restart.

    wrote on last edited by
    #10

    @phenomlab yes, youtube links still not showing inline
    Where do I find that rules page to accept?

  • @phenomlab yes, youtube links still not showing inline
    Where do I find that rules page to accept?

    wrote on last edited by
    #11

    @eveh have a look in /admin/plugins/embed

  • @eveh have a look in /admin/plugins/embed

    wrote on last edited by
    #12

    @phenomlab
    YAY! It works
    Thanks so much

  • phenomlab phenomlab has marked this topic as solved on

Did this solution help you?
Did you find the suggested solution useful? Support 💗 Sudonix with a coffee ☕
If your organisation needs deeper expertise around infrastructure, security, or technology leadership, learn more about Phenomlab Ltd. Many of the deeper technical guides behind Sudonix are published there.

Related Topics
  • Why CSS acts different in Desktop?

    Bugs nodebb
    11
    4 Votes
    11 Posts
    4k Views
    phenomlab
    @DownPW I’d have to agree with that.
  • NodeBB: Privileges for the Announcement channel

    Solved Configure nodebb
    6
    1
    1 Votes
    6 Posts
    2k Views
    phenomlab
    Up to you really
  • [NodeBB] greeting message

    Solved Customisation css nodebb javascript
    2
    1
    3 Votes
    2 Posts
    2k Views
    phenomlab
    @pwsincd welcome to sudonix, and thanks for the comments. What your looking for is here https://sudonix.com/topic/195/nodebb-welcome-message/3?_=1648295651358
  • [NODEBB] Welcome Message

    Solved Customisation css html nodebb
    20
    2
    13 Votes
    20 Posts
    9k Views
    phenomlab
    @DownPW the ‘js’ code for the banner takes the time from the client, so what it displays really depends on the regional settings for the operating system. I’ve not seen this issue myself but would like to see some examples of screenshots if possible.
  • NodeBB Footer

    Solved Customisation footer nodebb
    10
    1 Votes
    10 Posts
    4k Views
    JAC
    @phenomlab said in NodeBB Footer: @jac and you. Hope all is well and you recover quickly Thanks pal
  • Social icon (Nodebb)

    Solved Customisation nodebb social
    7
    0 Votes
    7 Posts
    3k Views
    JAC
    @phenomlab said in Social icon (Nodebb): @jac I just tested my theory around using the OG image, and according to the Twitter card validator, it works fine [image: 73e805e1-997b-41bf-9259-51c5052ca8fc-image.png] fixed
  • NodeBB Design help

    Solved Customisation
    8
    3
    2 Votes
    8 Posts
    4k Views
    phenomlab
    @riekmedia I’ve applied some new CSS to your site. Can you reload the page and try again ? For the record, this is what I added #footer { background: #2d343e; border-top: 4px solid #2d343e; font-size: 0.9em; margin-top: 70px; padding: 80px 0 0; position: relative; clear: both; bottom: 0; left: 0; right: 0; z-index: 1000; margin-left: -15px; margin-right: -338px; } The /categories page seems a bit messed up, so looking at that currently EDIT - issued some override CSS in the CATEGORIES widget <!--- CSS fix for overspill on /categories page - DO NOT DELETE --> <style> #footer { margin-right: -45px; } </style> That should resolve the /categories issue.
  • NodeBB customisation

    Locked Customisation
    332
    27 Votes
    332 Posts
    274k Views
    phenomlab
    @jac Given your departure away from your previous project, I’m going to close this thread…