Is this really the version you are looking for? Kentico Xperience 9 Documentation is no longer updated. Use the switcher in the header to choose your product version.
You can insert image, video and audio files on a page from various sources using the editor toolbar.
The editor toolbar is available each time you are editing a text area in Kentico. For example, when editing pages on the Form tab or when editing content of email campaigns.
The toolbar allows you to:
With your mouse, click where you want to insert the media.
On the editor toolbar, click on the Quickly insert media button. A dialog window opens.
Choose the file that you want to insert and click on Open. The system attaches the file to the page and places it.
Optional steps
Modify the image properties by right-clicking the image with your mouse and choosing Properties. A dialog window opens.
Adjust the properties based on the media type that you are inserting.
Click on Insert. The system places the modified image.
With your mouse, click where in a text area you want to place the YouTube video.
In the editor toolbar, click on the Insert/Edit widget button. A Select widget dialog appears.
Select the YouTube video widget and click Select. A Widget properties (YouTube video) dialog opens.
Copy the URLof the video into the URL field.
Set the default Width and Height of the widow.
Click the Save & Close button. The system places the video.
Save the page you are editing.
With your mouse, click where you want to insert the media.
On the editor toolbar, click on the Insert/Edit image or media button. An Insert image or media dialog window opens.
Switch to the Web tab.
Enter the URL of the resource into the URL field.
Try the automatic file type detection using the Refresh () button. In case the file type cannot be detected, use the Media type drop-down list.
(Optional) Adjust the properties based on the media type that you are inserting.
(Optional) Preview how the media file looks on the page with the properties that you applied to it.
Click Insert. The system places the media file.
Save the page you are editing.
With your mouse, click where you want to insert the media.
On the editor toolbar, click on the Insert/Edit image or media button. An Insert image or media dialog window opens.
Depending on where the file that you want to insert is stored, switch to one of the following tabs:
Select () the file that you want to insert.
(Optional) Adjust the properties based on the media type that you are inserting.
Click on Insert. The system places the media file.
Save the page you are editing.
When inserting specific files using the editor, you may want to fill in certain advanced properties. The properties vary based on the type of file that you are inserting:
When inserting both audio and video, the following properties can be set:
Audio and video is inserted into the output code as the Media inline control. The output code looks like the following code sample:
<object codetype="CMSInlineControl" height="200" type="Media" width="300">
<param name="ext" value=".avi" />
<param name="cms_type" value="audiovideo" />
<param name="url" value="~/getattachment/Sample.avi.aspx" />
</object>Flash is inserted into the output code as the Media inline control. The following code sample shows what the output code looks like:
<object codetype="CMSInlineControl" height="200" type="Media" width="300">
<param name="url" value="http://127.0.0.1/KenticoCMS/Files/Cube.aspx?ext=.swf" />
<param name="ext" value=".swf" />
<param name="cms_type" value="flash" />
</object>