Skip to content

NodeBB inline videoplayer

Solved Customisation
12 2 4.5k 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?

    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
  • Custom Page - nodebb

    Solved Customisation custom-pages nodebb
    13
    2
    5 Votes
    13 Posts
    3k Views
    DownPW
    I’m happy to see this
  • Opening links in nodebb widget

    Solved Configure nodebb
    6
    4 Votes
    6 Posts
    3k Views
    phenomlab
    A more efficient way of including this would be to not over complicate it and leverage a standard iframe (providing the CSP headers of the remote site permit this) like below <iframe src="https://www.classmarker.com/online-test/start/?quiz=gag66aea7922f0a5" width="700" height="800"></iframe> This works first time every time on your site as intended.
  • What is this bar called?

    Solved Customisation nodebb
    92
    1
    36 Votes
    92 Posts
    41k Views
    DownPW
    This is good
  • Nodebb 3.2.0

    Bugs nodebb nodebb 3.2.0
    20
    1
    2 Votes
    20 Posts
    7k Views
    phenomlab
    @crazycells yes, I’m aware of that. Need to fix EDIT- fixed. Caused by the same CSS that is used to absolutely position the “verified” group badge in the posts view. Amended this CSS so that is specifically targets the post stream as below li[component="post"] a[href*="/groups/verified"] { position: absolute !important; left: 8px; z-index: 2; margin-top: 1px; border-radius: 999px !important; line-height: 14px; display: block; height: 22px; margin-left: 0px !important; }
  • nodebb loading emojis

    Solved Configure nodebb emojis
    16
    1
    1 Votes
    16 Posts
    6k Views
    phenomlab
    @DownPW sure. Let me have a look at this in more detail. I know nginx plus has extensive support for this, but it’s not impossible to get somewhere near acceptable with the standard version. You might be better off handling this at the Cloudflare level given that it sits in between the requesting client and your server.
  • 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
  • Changing Background on NodeBB

    Solved Customisation background image nodebb
    4
    0 Votes
    4 Posts
    2k Views
    phenomlab
    @cagatay You’d target the body tag and use the below line of CSS background: url(/assets/customcss/backgrounds/default/default.png) no-repeat center center fixed; Obviously, you need to change the path to suit where your image is being stored. More info around the background property can be found here https://www.w3schools.com/cssref/css3_pr_background.php
  • NodeBB Discord Plugins

    Unsolved Customisation nodebb discord plugin
    7
    0 Votes
    7 Posts
    4k Views
    phenomlab
    @RiekMedia hi. Just following up on this thread (I know it’s old) but was curious to understand if it’s still an issue or not ?