Last updated 1/12/20221 minute to read

Media embed

Sonat supports inserting embeddable media into your rich text content. The following media are supported:

  • Youtube
  • Vimeo
  • Spotify
  • Dailymotion

You can also embed Instagram posts, tweets, google maps, flicker, and Facebook posts. However, they will be embedded without the previews of the media content.

Insert media

You can embed media into your content by pasting the media URL directly into the editor content. You can also use the toolbar buttons as follows:

  1. Click the insert media button on the editor toolbar.
  2. Paste the media URL into the field.
  3. Click Checkmark to save your changes and embed the media. (You can click X to undo your changes)

Your media will be automatically embedded. Your users will be able to watch the media on your domain or go to the source, like the example below.

Type around embedded media with preview

When the embedded media is the last part or first part of the content, you might find it difficult to put the cursor before or after the preview block and start typing.

To insert lines and paragraphs before or after the block, take the following steps:

  1. Click anywhere on the image/media preview to invoke the arrows on the media's frame.
  2. Click the arrow on the top to insert a paragraph before the preview block or the arrow on the bottom to insert a paragraph after the preview block

Note: Remember that your embedded media will appear as a preview image (if it is from providers with preview).