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
  • Which VPN do you currently use?

    General nord express pia cyber ghost
    6
    4 Votes
    6 Posts
    3k Views
    JAC
    @phenomlab absolutely, their step brother residing in a different Countries. https://surfshark.com/blog/surfshark-vs-nordvpn
  • 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.
  • 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.
  • Bottom footer navbar button extend

    Solved Customisation css javascript customisation footer navbar
    32
    9 Votes
    32 Posts
    15k Views
    phenomlab
    @DownPW said in Bottom footer navbar button extend: Oh my god, it’s beautiful mark I liked this design so much, I’ve implemented it here. I intend to do a lot more with the footer in due course, so hiding it makes a lot of sense. Thanks @DownPW for the idea and initial concept
  • 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.
  • 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/
  • 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 ?