Plugin to convert specific Links into Single Embeds

Hello,

I would like to be able to grab specific links similar to Onebox and convert them into pushing single line “script” embeds with the existing URL variable.

Example, a user places a link in the topic or reply for:
https://website.com/RaNdOmString

Then the plugin (assuming it will be a plugin), will convert that link into a single script line like the one below:
<script src="https://website.com/RaNdOmString/embed.js?style=dark"></script>

With the goal of rendering that embedded JS in that single post, kind of like Onebox I mentioned previously.

I tinkered a bit before and have been able to create some other plugins myself, but this one might be out of my scope.

Thanks!

1 Like

I can help with that. Sending a pm.

2 Likes