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
  • 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.
  • Plugin reaction Bug

    Solved Customisation plugin nodebb reaction
    15
    1
    0 Votes
    15 Posts
    6k Views
    phenomlab
    @DownPW That was going to be my next suggestion
  • 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.
  • 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
  • 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 ?
  • Which mobile internet app and browser do you use?

    General browser mobile
    9
    3 Votes
    9 Posts
    3k Views
    phenomlab
    @Sala Yes, I personally use Edge. Hated Internet Exploder (misspell intentional) but seeing as Edge is Chromium and Webkit backed, it works for me.