[nodebb-plugin-ns-embed] NS Embed
-
@cfrancois said in [nodebb-plugin-ns-embed] NS Embed:
@omega
Hello I copied this code, but no message appeared for a tweet.
I managed to make work youtube, peertube, vimeo etc... without a problem, even slideshare. But for twitter, I'm wondering if I'm not missing something.As suggested to me. Did you restart and rebuild or run via cod line - ./nodebb build
After you installed the plugin?
-
@omega I tried and tried... the problem wasn't the plugin at all, but just my browser security that blocked the twitter's widget tracker.
I'm ashamed to fall in this trap during days. So I reduce my security level and everything is fine now.
Thanks.
-
I've installed and activated nodebb-plugin-ns-embed in a clean 1.12.2 installation but doesn't seem to work.
Also I can't find the plugin configuration to change the options...
The plugin appears to be active correctly.--
Can you help me? Thanks.
PS: I have another nodebb 1.10 forum with nodebb-plugin-youtube-embed and nodebb-plugin-embed-combo and works well. But I've tried to upgrade to 1.12 and nodebb-plugin-embed-combo doesn't works with this version.
-
Somebody know how to do this for Bandcamp?
https://get.bandcamp.help/hc/en-us/articles/360013561254-How-do-I-create-a-Bandcamp-embedded-player-
-
@The-Worms said in [nodebb-plugin-ns-embed] NS Embed:
For MixCloud
(?:<a.*?)?(?:https?:\/\/)?(?:www\.)?mixcloud\.com\/([a-zA-Z0-9_-]{4,36})\/([a-zA-Z0-9_-]{4,136})(?:.*?\/a>)?
<div class='embed-wrapper'><div class='embed-container'> <iframe src='https://www.mixcloud.com/widget/iframe/?light=1&hide_artwork=1&feed=%2F$1%2F$2%2F' frameborder='0' ></iframe> </div></div>
This one is not working for me
-
@MJ said in [nodebb-plugin-ns-embed] NS Embed:
@The-Worms said in [nodebb-plugin-ns-embed] NS Embed:
For MixCloud
(?:<a.*?)?(?:https?:\/\/)?(?:www\.)?mixcloud\.com\/([a-zA-Z0-9_-]{4,36})\/([a-zA-Z0-9_-]{4,136})(?:.*?\/a>)?
<div class='embed-wrapper'><div class='embed-container'> <iframe src='https://www.mixcloud.com/widget/iframe/?light=1&hide_artwork=1&feed=%2F$1%2F$2%2F' frameborder='0' ></iframe> </div></div>
This one is not working for me
Work fine for me
Link mixcloud : https://www.mixcloud.com/ambientmusicguide/ambitronica-01-compiled-mixed-by-mike-g/
Done : https://forum.cabane-libre.org/topic/607/mixcloud-test -
@The-Worms said in [nodebb-plugin-ns-embed] NS Embed:
@MJ said in [nodebb-plugin-ns-embed] NS Embed:
@The-Worms said in [nodebb-plugin-ns-embed] NS Embed:
For MixCloud
(?:<a.*?)?(?:https?:\/\/)?(?:www\.)?mixcloud\.com\/([a-zA-Z0-9_-]{4,36})\/([a-zA-Z0-9_-]{4,136})(?:.*?\/a>)?
<div class='embed-wrapper'><div class='embed-container'> <iframe src='https://www.mixcloud.com/widget/iframe/?light=1&hide_artwork=1&feed=%2F$1%2F$2%2F' frameborder='0' ></iframe> </div></div>
This one is not working for me
Work fine for me
Link mixcloud : https://www.mixcloud.com/ambientmusicguide/ambitronica-01-compiled-mixed-by-mike-g/
Done : https://forum.cabane-libre.org/topic/607/mixcloud-testYou are right, Privacy badger (browser plugin) was the problem.
Thanks
-
NodeBB ACP does not show the most current version of the plugin on the list, and 2.1.1 does not work with 1.12.2 FYI ( @baris ) , but of course it can be installed using shell.
-
After upgrade to 1.13.0 my twitter code don't work!?
watch
(?:<a.*?)?(?:https?:\/\/)?(?:twitter\.com)\/([^\/\"\s]*)\/status\/([^\/\"\s]*)(\/photo\/\d|)(?:.*?\/a>)?
replace
<div class='embed-wrapper'> <blockquote class="twitter-tweet"><a href="https://twitter.com/$1/status/$2?ref_src=twsrc%5Etfw"></a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> </div>
Someone an idea for me?
-
Several plugins are incompatible with 1.13.0
-
Hmm I am using 1.13.0 also, and tried today many different plugins about embeding and no one works.. so can be this XSS protection
-
Hello @julian
The plugin provides dynamic replacements. You can specify any replacement rule (Regular Expression), something like these: https://github.com/NicolasSiver/nodebb-plugin-ns-embed/blob/master/docs/community-rules.mdForum owners decide what they want to insert as a result of replacement.
-
Version 4.0.0
The new version is available.
- Added support for post preview of the embedded content
- Changed dependencies to comply with the most security updates
- Changed compatibility with NodeBB v1.13.x