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