Configure Iframely for MediumEditor

You can use beautiful MediumEditor with Iframely embeds via Medium Insert Plugin by Pavel Linkesch and contributors. Iframely team is the contributor on the project and we maintain the integration.

See editor's demo here. It uses Iframely's public demo API endpoint that you need to change for production use.

Configure Iframely API endpoint

To connect Medium Insert Plugin to Iframely, simply change the default endpoint to the one with your API key:

<script>
$(function () {
    $('.editable').mediumInsert({
        editor: editor,
        addons: {
            embeds: {
                oembedProxy: '//iframe.ly/api/oembed?api_key={your key here}'
            }
        }
    });
});
</script>

You can add &iframe=1 and other optional query-string parameters in oembedProxy endpoint.

Other plugin usage examples can be found in project's GitHub repository.

Previous article: CKEditor
Next article: GDPR