Skip to content

Embed - What Are You Using?

Solved General
13 3 3.8k 1
  • wrote on last edited by
    #1

    Wondering what you guys are using (if at all) to embed videos.

    I was using YouTube Lite but now it does not work anymore. Another amazmenet for me becuase it was working fine before but with a new clean install it does not! It really is never ending and about to give up on it to be honest. It woudl not install the normal way and so added the url +git to get it installed. Then when you add your API key and click save nothing happens.

    So now I try nodebb plugin embed which works ok. But you do not see the video in your post preview. Only when the post is posted.

    Wondering if you guys use anything better.

    Thx.

  • Wondering what you guys are using (if at all) to embed videos.

    I was using YouTube Lite but now it does not work anymore. Another amazmenet for me becuase it was working fine before but with a new clean install it does not! It really is never ending and about to give up on it to be honest. It woudl not install the normal way and so added the url +git to get it installed. Then when you add your API key and click save nothing happens.

    So now I try nodebb plugin embed which works ok. But you do not see the video in your post preview. Only when the post is posted.

    Wondering if you guys use anything better.

    Thx.

    wrote on last edited by
    #2

    @Sampo2910 Sudonix uses this

    https://community.nodebb.org/topic/7135/nodebb-plugin-ns-embed-ns-embed/114

    Works fine under the 2.x train (although I need to test with latest build). There’s an admin page once installed that has default rules for most of the common types, including YouTube. An example of the embedding for YT is here

  • @Sampo2910 Sudonix uses this

    https://community.nodebb.org/topic/7135/nodebb-plugin-ns-embed-ns-embed/114

    Works fine under the 2.x train (although I need to test with latest build). There’s an admin page once installed that has default rules for most of the common types, including YouTube. An example of the embedding for YT is here

    wrote on last edited by
    #3

    @phenomlab BEST ONE YET.

    Much better than any of the others I have tried. Thanks 🙂

  • @phenomlab BEST ONE YET.

    Much better than any of the others I have tried. Thanks 🙂

    wrote on last edited by
    #4

    @Sampo2910 Yes, it took me several attempts to get this one right 🏁

  • phenomlab phenomlab marked this topic as a question on
  • phenomlab phenomlab has marked this topic as solved on
  • wrote on last edited by
    #5

    Woo good for youtube but I have test to integrate Dailymotion and Twitter and bad result 😞

    I have test this : https://github.com/NicolasSiver/nodebb-plugin-ns-embed/blob/master/docs/community-rules.md#twitter

    and a rebuild but no chance

    eb12a3c8-782d-40bb-854c-da3cf7e038a6-image.png Test plugin NS embed Dailymotion

    Theme broken

  • Woo good for youtube but I have test to integrate Dailymotion and Twitter and bad result 😞

    I have test this : https://github.com/NicolasSiver/nodebb-plugin-ns-embed/blob/master/docs/community-rules.md#twitter

    and a rebuild but no chance

    eb12a3c8-782d-40bb-854c-da3cf7e038a6-image.png Test plugin NS embed Dailymotion

    Theme broken

    wrote on last edited by
    #6

    @DownPW I think I might know why. Let me have a look at this tomorrow

  • wrote on last edited by DownPW
    #7

    I have re-test @phenomlab and I have another embed plugin (the worms) in conflict.
    It’s ok now but I don’t have too work with Twitter or Dailymotion with the rules on communauty.

  • I have re-test @phenomlab and I have another embed plugin (the worms) in conflict.
    It’s ok now but I don’t have too work with Twitter or Dailymotion with the rules on communauty.

    wrote on last edited by
    #8

    @DownPW there’s a Twitter embed plugin in use on this forum. Daily Motion might need some experimenting to get it to embed properly. I’m doing exactly that with an MP4 video I have in one of my posts (blog article) which wasn’t too difficult to get working.

  • @DownPW there’s a Twitter embed plugin in use on this forum. Daily Motion might need some experimenting to get it to embed properly. I’m doing exactly that with an MP4 video I have in one of my posts (blog article) which wasn’t too difficult to get working.

    wrote on last edited by
    #9

    @phenomlab said in Embed - What Are You Using?:

    @DownPW there’s a Twitter embed plugin in use on this forum. Daily Motion might need some experimenting to get it to embed properly. I’m doing exactly that with an MP4 video I have in one of my posts (blog article) which wasn’t too difficult to get working.

    This ?
    https://github.com/nodebb-community/nodebb-plugin-twitter

  • @phenomlab said in Embed - What Are You Using?:

    @DownPW there’s a Twitter embed plugin in use on this forum. Daily Motion might need some experimenting to get it to embed properly. I’m doing exactly that with an MP4 video I have in one of my posts (blog article) which wasn’t too difficult to get working.

    This ?
    https://github.com/nodebb-community/nodebb-plugin-twitter

    wrote on last edited by
    #10

    @DownPW yes

  • Woo good for youtube but I have test to integrate Dailymotion and Twitter and bad result 😞

    I have test this : https://github.com/NicolasSiver/nodebb-plugin-ns-embed/blob/master/docs/community-rules.md#twitter

    and a rebuild but no chance

    eb12a3c8-782d-40bb-854c-da3cf7e038a6-image.png Test plugin NS embed Dailymotion

    Theme broken

    wrote on last edited by
    #11

    @DownPW Did you get the Daily Motion Embed to work ?

  • @DownPW Did you get the Daily Motion Embed to work ?

    wrote on last edited by
    #12

    @phenomlab nope!

  • wrote on last edited by phenomlab
    #13

    @DownPW Hmm - it’ll work with iFramely (locally hosted), or you can use the below string to embed using https://community.nodebb.org/topic/7135/nodebb-plugin-ns-embed-ns-embed/114

    Watch

    (?:<a.*?)?(?:https?:\/\/)?(?:www\.)?dailymotion\.com\/video\/([a-zA-Z0-9_-]{4,11})(?:.*?\/a>)?
    

    Replace

    <div class='embed-wrapper'><div class='embed-container'><iframe  src='//www.dailymotion.com/embed/video/$1' frameborder='0' allowfullscreen></iframe></div></div>
    

    4f5f13f7-0c73-460e-b32f-f974f170b236-image.png


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
  • TNG + Nodebb

    General tng genealogy nodebb plugin
    4
    0 Votes
    4 Posts
    2k Views
    phenomlab
    @Madchatthew said in TNG + Nodebb: you have to try and use duck tape and super glue to change something to make it do what you want it to do I couldn’t have put that better myself.
  • What plugins are being used here on Sudonix?

    Solved General nodebb plugins development
    6
    5 Votes
    6 Posts
    2k Views
    phenomlab
    @Roki-Antic Welcome! This site isn’t running Persona, but Harmony - a very heavily customised version at that. Do you have a URL where your site is currently located that is publicly accessible? Feel free to PM this info if you do not want to disclose here. Happy to help with any customisation needs.
  • Embeds

    General embed
    4
    1
    4 Votes
    4 Posts
    2k Views
    phenomlab
    @OT Are you testing embeds, or did you insert this link for another purpose? For clarity, this isn’t a testing category
  • Plugin to show images in teasers

    General nodebb teaser image plugin hook
    6
    1
    2 Votes
    6 Posts
    2k Views
    phenomlab
    @dave1904 I’d start by adding a console.log function to hookData so you can see what is being returned return hookData; console.log(hookData):
  • nodebb-user-level customisation : popover element

    Solved Customisation css user level plugin custom
    15
    6 Votes
    15 Posts
    5k Views
    DownPW
    No no, I said that in the sense that he told me it was simple ^^ I was able to see that this was not the case by targeting the elements he had advised me.
  • Error install plugin

    Solved Customisation plugin nodebb
    8
    1
    1 Votes
    8 Posts
    6k Views
    DownPW
    @pobojmoks Not WP plugin but nodeBB but it a known bug
  • 0 Votes
    5 Posts
    2k Views
    phenomlab
    @qwinter this particular site uses the code I wrote if you want to see it in action. It’s a information and intelligence gatherer I designed for collecting various information security articles from around the globe and consolidating them in one place. Essentially, each “post” is in fact generated by the script, and the NodeBB API. https://hostrisk.com/
  • Flarum SEO is worst and i still want to use it 😭

    General flarum
    15
    6 Votes
    15 Posts
    5k Views
    phenomlab
    @Hari said in Flarum SEO is worst and i still want to use it : Flarum is coded in such a way where it tells spiders not to crawl any internal links by adding nofollow tag. How stupid this is Yes, I agree this doesn’t make any sense. If you compare to WordPress, then (via a plugin of course) you can set the attribute as you wish. It doesn’t make any sense to take a blanket approach. I guess I unerstand why they are doing this, but it’s not an optimum SEO methodology. @Hari said in Flarum SEO is worst and i still want to use it : For few minutes i thought i should register a domain called flarumSEOsucks.com They’d probably sue you for using the Flarum name in a URL