Iframely help
-
Here's a list of my currently installed plugins
* [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * nodebb-plugin-customize (not installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, disabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, disabled) * [email protected] (installed, disabled) * [email protected] (installed, enabled) * [email protected] (installed, disabled) * [email protected] (installed, disabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled)
-
@phenomlab It may also be helpful to reach out to the IFramely team. This plugin was actually created by them, so while they don't develop too much on it (after all, it works fine until one day it doesn't!), they might want to know that the self-hosted integration may be broken.
-
Aren't you using the
API key or endpoint address:
field? What value do you put there? If you don't put an api key there it using it as the iframelyURL.var custom_endpoint = /^https?:\/\//i.test(iframely.config.endpoint); var iframelyAPI = custom_endpoint ? iframely.config.endpoint : iframely['apiBase'] + '&api_key=' + iframely.config.endpoint;
-
@phenomlab said in Iframely help:
Yeah so the plugin is making a request to
https://media.sudonix.com/iframely?url=<url_of_embed>
, did you check what that endpoint returns by logging the response code and body? -
@baris Yes, the odd thing is that it returns nothing from what I see. I can see it being generated in the logs but when accessing directly from a browser, there's nothing.
I'm not entirely convinced thay my nginx setup is correct. I'm essentially using a reverse proxy pointing to
http://127.0.0.1:8061
which does answer but I'm getting a 404 on some of the URLs according to the console which doesn't make much sense.Does anyone have a working nginx config they can share for self hosted iframely?
-
Hey guys, Ivan from Iframely here. Signed up on support request. @julian @baris - please tag me next time, we'll try to keep an eye on your forum.
Because the plugin works with the cloud version, the issue in this thread is obviously about integrating Iframely self-hosted version and/or connecting it in the plugin's configuration. We'll request additional info take care of it at Iframely support. Thanks for chiming in!
-
@iparamonau Thanks for responding to this. Apologies for emailing support directly but I thought that this was the best course of action seeing as it's a plugin written by iframely.
-
-
Coming back with an update. Thanks to the assistance (and persistence) of @iparamonau we now have this working. I am now self-hosting, and VERY happy.
Essentially, the issue for me was that I use a subdomain of https://media.sudonix.com to facilitate the iframely installation. When @iparamonau checked, they do not permit this and expect a directory of one word. One fix later, and life is good !
-
@phenomlab said in Iframely help:
Essentially, the issue for me was that I use a subdomain of https://media.sudonix.com to facilitate the iframely installation. When @iparamonau checked, they do not permit this and expect a directory of one word. One fix later, and life is good !
I'm having a hard time understanding this. Can you explain in a little more detail what the problem was and how you solved it?
-
@pitaj Sure -sorry - should have included more detail. I couldn't get this to work no matter what I tried, so I was then advised to use the development branch. The iframely self hosting instance would start, log traffic requests, but nothing would happen in terms of embedding working on the front-end.
After iframely support checked their code, they did not permit directories with "." in them - so, my directory of
media.sudonix.com
would not work until they issued a patch.Now everything works as intended.
-
@phenomlab Thanks for circling back, and kudos to @iparamonau for stopping by to fix the plugin
Glad everything is working!
-
@julian I think I'll write up what's needed to get this to work - will probably publish on my own site (sudonix.com)
-
yes great idea @phenomlab
-
I wrote this some time ago but completely forgot to add here.
https://sudonix.com/topic/331/how-to-install-a-self-hosted-instance-of-iframely-for-use-with-nodebb
Hope someone else finds this useful.