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
  • 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
  • nodebb-plugin-custom-pages

    Solved Customisation plugin custom-pages
    5
    2
    3 Votes
    5 Posts
    5k Views
    phenomlab
    @DownPW it’s possible, yes, but you may inadvertently end up targeting other elements using the same class which of course isn’t desired. Can you provide a link in DM for me to review?
  • Recent Cards Plugin

    Solved Configure customisation
    5
    1
    4 Votes
    5 Posts
    2k Views
    phenomlab
    @crazycells that’s a good point. Thanks
  • Viewing Permission.

    Solved General support customisation
    33
    12 Votes
    33 Posts
    11k Views
    Sampo2910
    @phenomlab Ah Mark you are a star. Thank you very much. I just logged on and seen someone had worked their magic Again it is very much appreciated.
  • Tenor GIF Plugin

    Solved Customisation plugin
    19
    1
    5 Votes
    19 Posts
    9k Views
    Sampo2910
    @phenomlab Also for me now Upgraded in ACP and all good . Thx.
  • Plugin Install Error

    Solved Customisation plugin error discord
    6
    1
    2 Votes
    6 Posts
    3k Views
    phenomlab
    @Sampo2910 no problems. Happy to help. Just remember that this particular method isn’t the best in the sense that it may not get update notifications. The general recommendation here would be to move back to the official npm repo as soon as the GitHub version has been merged. For the meantime, it’ll work fine though.
  • [NODEBB] Stats

    Unsolved Customisation plugin stats script
    20
    1
    2 Votes
    20 Posts
    6k Views
    JAC
    @phenomlab said in [NODEBB] Stats: @jac or I land up fixing it I wouldn’t put it past you