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
  • Upgrade issues

    Solved Configure nodebb
    2
    1
    2 Votes
    2 Posts
    1k Views
    DownPW
    Use this code git fetch # Grab the latest code from the NodeBB repository git checkout v3.x git reset --hard origin/v3.x And you will have the latest version without specifying it https://docs.nodebb.org/configuring/upgrade/
  • Whitespace fixes in Nodebb

    Solved Customisation nodebb
    18
    2
    7 Votes
    18 Posts
    6k Views
    phenomlab
    @Panda Just circling back here with something of an update (which I think you’ll like). I’ve completely restructured the ranking system. There are now less ranks, with a higher point threshold to reach them. More importantly, if you reload the site, you’ll notice that the ranks are now icons. I also removed the “Author” badge, and made this a single icon, which (to me) looks much better.
  • Smart Widgets

    Solved Configure nodebb
    9
    3 Votes
    9 Posts
    3k Views
    phenomlab
    @Panda said in Smart Widgets: So why is that, or conversely why would the function to expose username ever be required, as it seems app.user is already an available global object? It is, yes, but not if you are using it outside of a widget. The function I wrote is also historical and comes from the 2.x train
  • who is read NodeBB

    Customisation read post nodebb
    6
    0 Votes
    6 Posts
    3k Views
    phenomlab
    @cagatay You should ask in the NodeBB forums. Perhaps reference this post https://discuss.flarum.org/d/23066-who-read
  • [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
  • CSS codes for fa-info icon

    Solved Customisation nodebb
    9
    1
    6 Votes
    9 Posts
    3k Views
    crazycells
    I have just figured it out… it can be targeted with text-decoration-color: I was mistakenly using color
  • 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
  • Display tweets in widget [NodeBB]

    Solved Customisation
    29
    4 Votes
    29 Posts
    13k Views
    JAC
    @phenomlab brilliant, many thanks Mark