Get Started
More information



Connects youtube iframe_api for embedding YouTube videos into documents as OLE objects and managing them by adjusting their size, rotating and changing position.

Plugin type: visual, OLE object, non-system.

Supported editors: documents, spreadsheets, presentations.



Available by default in the cloud, on-premises and desktop versions of ONLYOFFICE editors.

You can remove it following the desktop, on-premises, or cloud installation instructions.

The plugin guid: {38E022EA-AD92-45FC-B22B-49DF39746DB4}.

  1. Find the plugin on the Plugins tab.
  2. Insert the YouTube video URL you want to embed into the form and click the OK button.
  3. The video preview in the form of an image will appear in your document. Click it to play the video.
Plugin structure

Repository on GitHub:

  1. config.json, index.html and code.js
  2. Icons
  3. The translations folder contains translations into Russian, German, Spanish and French.
  4. Third-party service:
    "name": "YouTube",
    "guid": "asc.{38E022EA-AD92-45FC-B22B-49DF39746DB4}",
    "version": "1.0",

    "variations": [
            "description": "YouTube",
            "url": "index.html",

            "icons": [ "resources/img/icon.png", "resources/img/icon@2x.png" ],
            "icons2": [
                    "100%": { "normal": "resources/img/icon.png" },
                    "125%": { "normal": "resources/img/icon@1.25x.png" },
                    "150%": { "normal": "resources/img/icon@1.5x.png" },
                    "175%": { "normal": "resources/img/icon@1.75x.png" },
                    "200%": { "normal": "resources/img/icon@2x.png" }
            "isViewer": true,
            "isDisplayedInViewer": false,
            "EditorsSupport": [ "word", "cell", "slide" ],

            "isVisual": true,
            "isModal": true,
            "isInsideMode": false,

            "initDataType": "ole",
            "initData": "",

            "isUpdateOleOnResize": false,

            "buttons": [
                    "text": "Ok",
                    "primary": true
                    "text": "Cancel",
                    "primary": false,
                    "isViewer": false,
                    "textLocale": {
                        "ru": "Отмена",
                        "fr": "Annuler",
                        "es": "Cancelar",
                        "de": "Abbrechen"

            "size": [ 350, 90 ]
Methods and events

If you want to request a feature or report a bug regarding this plugin, use the issues section on GitHub.