[nodebb-plugin-ns-embed] NS Embed
-
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
-
@FrankM Twitter embed is using
script
injection. The latest update to the plugin adheres to the security changes in NodeBB. I think should be a separate plugin for Twitter embeds with the efficient lazy loading for necessary scripts, etc. This plugin works the best with the embeds which are based on iframe.