Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 12, 20223 yr 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.
January 12, 20223 yr Community Expert 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.
January 12, 20223 yr Author Thank you Jim for your swift reply, much appreciated. Just to clarify, there is no public documentation covering this topic?
January 12, 20223 yr 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
January 13, 20223 yr 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.
January 26, 20223 yr Author 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,