[nodebb-plugin-ns-embed] NS Embed
-
@shinyidol I'm getting the identical output as your posted log.
I upgraded a clean 1.12.1 nodeBB to 1.12.2 and tried to install this plugin, and it's not appearing. Used plugin manager too.
Got this error
2019-05-20T14:40:46.012Z [4567/11196] - warn: [plugins] Unable to parse library for: nodebb-plugin-ns-embed
-
@omega said in [nodebb-plugin-ns-embed] NS Embed:
@shinyidol I'm getting the identical output as your posted log.
I upgraded a clean 1.12.1 nodeBB to 1.12.2 and tried to install this plugin, and it's not appearing. Used plugin manager too.
Got this error
2019-05-20T14:40:46.012Z [4567/11196] - warn: [plugins] Unable to parse library for: nodebb-plugin-ns-embed
@Nicolas can you provide any help?
-
I had to install it from command line. It was not working from the GUI.
-
@JaredBusch said in [nodebb-plugin-ns-embed] NS Embed:
I had to install it from command line. It was not working from the GUI.
I haven't installed plugin via cmd line yet, is this the exact method you used?
-
I tried plugin install via cmd line as per doc.nodebb guide linked above does not seem to have worked.
Terminal spit this out (removed code)
UPDATE: Tried it again, using historical advice from @The-Worms (back up the thread - click here) this time using
sudo npm remove nodebb-plugin-ns-embed npm install nodebb-plugin-ns-embed
Now I can see the plugin with nBB v1.12.2 and it works too + to have everything in one place next time I forget what I did or anyone else, here is the Twitter code that works for custom embed.
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^tfw"></a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> </div>
-
@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