Editorn Posted January 12, 2022 Share Posted January 12, 2022 Hi, We have the need for creating custom embedded links for a service not provided by Invision Community. Is there a way to create a template/interpreter yourself? Where can we find documentation? The embedded information can be provided as a div script, an iframe and/or a script link. Thanks in advance. Link to comment Share on other sites More sharing options...
Jim M Posted January 12, 2022 Share Posted January 12, 2022 Thanks for posting! Unfortunately, this issue is beyond the scope of our technical support. 👩💻 Our technical support is happy to help you with the Invision Community platform, but we're unable to help with things like server management, theme questions and modifications. I've moved this to our Community Support area where other Invision Community owners will see it and help where they can. Link to comment Share on other sites More sharing options...
Editorn Posted January 12, 2022 Author Share Posted January 12, 2022 Thank you Jim for your swift reply, much appreciated. Just to clarify, there is no public documentation covering this topic? Link to comment Share on other sites More sharing options...
Runar Posted January 12, 2022 Share Posted January 12, 2022 37 minutes ago, Editorn said: Thank you Jim for your swift reply, much appreciated. Just to clarify, there is no public documentation covering this topic? I created a free plugin for embedding Streamable videos, and made the source code available on GitHub. Maybe this can be of any help: https://github.com/runar/embed-streamable Editorn 1 Link to comment Share on other sites More sharing options...
Editorn Posted January 13, 2022 Author Share Posted January 13, 2022 Thanks Runar for your reply. I'll have a look at that plugin 👍 Link to comment Share on other sites More sharing options...
Nathan Explosion Posted January 13, 2022 Share Posted January 13, 2022 Runar's method is relevant for those sites that have an oembed endpoint that can be used. A different approach would be required for sites that do not provide an oembed endpoint (instead, they provide "replacement code" that you would need put in place) - in that case, you'd take advantage of _customEmbed in \IPS\Text\Parser When I am looking at adding something like this, the first question I ask is "Does the source site have an oembed endpoint?" and I go from there. If it does, then I use my own app to add it in: If it doesn't, then I throw together a new plugin using the _customEmbed method instead. And if I see something requesting the same on here then I add it in to the above application too. Happy to throw a simple plugin together to help you out here. Editorn and SeNioR- 2 Link to comment Share on other sites More sharing options...
Editorn Posted January 26, 2022 Author Share Posted January 26, 2022 Thank you @Nathan Explosion for the helpful reply - I appreciate it a lot. We just heard back from the client's developer that an oembed endpoint does not exist. I'll drop you a PM to fill you in on the details. Cheers, Link to comment Share on other sites More sharing options...
Recommended Posts