Jump to content

Help with creating a custom embedded link


Recommended Posts

Hi,

We have the need for creating custom embedded links for a service not provided by Invision Community.

  1. Is there a way to create a template/interpreter yourself?
  2. 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

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

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.

Link to comment
Share on other sites

  • 2 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...