Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted March 11Mar 11 In Invision Community 4, we could add a hook to the \IPS\Text\Parser class to add a new oembed endpoint and this worked great. Obviously we don't have hooks in Invision 5 however.Is there a way that I'm missing to add a new oembed endpoint? protected static function oembedServices() { $services = parent::oembedServices(); $services['*.loom.com'] = array( 'https://www.loom.com/v1/oembed', static::EMBED_VIDEO ); return $services; }I realize you can add allowed iframe URLs and get a pseudo-embed that way, however it does not embed the video itself but rather a generic loom page that just has the video title. The actual oembed endpoint results in the video itself embedding.