Youtube embed plugin

This plugin handles drop of youtube links in an article.

Plugin configuration

    "id": "io.infomaker.youtubeembed",
    "name": "im-youtubeembed",
    "url": "{PLUGIN_VERSION}/index.js",
    "style": "{PLUGIN_VERSION}/style.css",
    "enabled": true,
    "mandatory": false,
    "data": {
        "disableUseOfAnnotationTools": true,
        "alternateLinkTitle": "{author_name} posted a video - {text}"

Basic options

Property Type Required Description
alternateLinkTitle String false Alternative title. {author_name} is available as a string variable that will be replaced with the actual author name. (used as a fallback if front cannot render the youtube object type).
disableUseOfAnnotationTools Boolean false Enable/disable the use of text annotations like "bold"


In the article, the youtube link will be represented as the example below;

<object id="youtubeembed-9fd64624349e14c20438302b6e362e52" type="x-im/youtube" url="" uri="">
        <link rel="alternate" type="text/html" url="" title="Jantelagen postade en video - Säl planerar julbord"/>
        <link rel="alternate" type="image/jpg" url="">