Commands in the General section

Step 4 - Pages > Video/Audio Object >

Commands in the General section

Previous pageReturn to chapter overviewNext page

Using the commands in this section, you can import the file to use for creating a Video/Audio Object and give the necessary indications on how it is to be played.

With WebSite X5 you can import all types of video formats (.MP4, .WEBM, .OGG, .AVI, .WMV, .MPG, .MOV, .MP3, .WMA, .WAV, .MID, .AIF or .M4A) simply by choosing the selecting the resource stored on your computer or alternatively by importing it from the Web. You can choose the file you want to import by clicking on  so to open the File Selection window.

With the exception of the YouTube ones, you can't see e a preview in the WebSite X5 local browser of the videos you add: this depends on the fact that the local preview relies on the Chromium engine, which doesn't include the necessary video codecs.

In any case, once the website is online, you will be able to correctly display them on the different browsers.

If you import a video from YouTube™, it will be resized according to WebSite X5's settings. If you want to maintain the original size you can import the file from YouTube™ using the HTML Code Object instead of the Video/Audio Object.

To ensure maximum compatibility, you should use .MP4.

Whichever player is used for displaying/playing the imported file, you can define the following Properties:

Size: enter the width and height in pixels of the video or audio control bar. The maximum width for the object is shown in brackets, according to the settings for the page layout table. The maximum height for the audio control bar (35 pixels) is shown in brackets. The minimum height is 15 pixels. Leave the Keep Ratio selected to keep the ratio between width and height.
Start type: indicate how the video/audio is to start. You have the following options:
Manual start: the visitor must start the video/audio manually.
Autoplay: the video/audio starts as soon as the page is loaded.
Autoplay only when visible: the video/audio only starts automatically when the page is loaded if the video or audio control bar is visible. This option is only available if the video/ audio was added using the YouTube/Vimeo Video URL option.

Video and audio autoplay is disabled on mobile devices because it would use too much bandwidth: the user has to manually start the video/audio on mobile devices.

You can also select the Options:

Alternative Text: this is the text that is shown as an alternative to the video or audio, if these cannot be reproduced.


Read the guides:


How to insert a video from YouTube™