The Iframely plugin takes care of 95% of cases where you want to embed something, and there's a configuration you can make that gets you the embeds, without it counting toward your limit (if you use the cloud service). For uploaded videos, I use the ns-embed one with a custom rule
[nodebb-plugin-ns-embed] NS Embed
Ok this combo works for me using the the Rumble Embed link that is available on a rumble videos page, e.g. below:
<div class='embed-wrapper'><div class='embed-container'><iframe iframe class="rumble" width="640" height="360" src='https://www.rumble.com/embed/$1/?pub=4' frameborder='0' allowfullscreen></iframe></div></div>
Not sure how to get the regex to deal with someone who pastes in a full URL for e.g.:
@yariplus thanks for that insight. I shall not waste further time doing the impossible.
It’s good enough for me, users can adapt to a few clicks to make it work
I have another I’ll post later. I can’t figure it out.
Here we go, I see this one getting used from time to time to host files. Including .mov files.
Usually (not real link)
I almost have it but I don't. I'm getting a 404 in the embed window.
<div class='embed-wrapper'><div class='embed-container'><iframe src='https://files.catbox.moe/$1' frameborder='0' allowfullscreen></iframe></div></div>
I didn't spend to long messing with it to get it to work yet.
I should probably sit down and learn regex at this point.
AnOdeToBB last edited by
Is there any way to enable YouTube videos to show full length?
Mines currently showing like this...
@anodetobb technically it's possible, but Plugin does not carry such functionality. It's developed with a fixed size of 640px.
If you would change to the responsive layout and take the whole width, it will also proportionally take way more space vertically.
The new version is available. Summary: complete rewrite of the ACP (functionality, UI, and UX - has not been changed).
- Added new notifications in ACP for manipulations around rules
- Changed project dependencies to rely on fewer libraries
- Changed integration with NodeBB to preserve the ability to enter Fullscreen (kudos to Revir Yang)
- Changed compatibility with NodeBB v1.17.x
- Changed ACP to rely on the latest UI library
- Removed Babel for unit tests around the rules
- Removed Gulp as an orchestration tool for SASS styles
So Gab.com is a thing and it's a big platform. it would be nice to be able to embed the gabs.
Here is an example gab
Here is my Regex, might not be perfect but seems to work in the regex checker.
Code for the REPLACE, iframe might work but I am not sure about, can't get it to work either way.
Anyone got any ideas or what I really mean a REPLACE code solution?
AnOdeToBB last edited by
Is this plugin compatible with NodeBB 2.0.0?
I can't display the website to display the plugin's configuration options anymore. Only an empty page shows up. The log shows the warning
warn: [deprecation] The `/plugins` shorthand prefix is deprecated, prefix with `/assets/plugins` instead (path: /nodebb-plugin-embed/css/acp.css)