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.

The Video/Audio Object can be added in several ways, depending on where the imported file comes from:

Local File on PC: if you select this option, just click on the button to browser through the files that are on your computer and choose one to import. The file must be in  .MP4, .WEBM, .OGG, .AVI, .WMV, .MPG, .MOV, .MP3, .WMA, .WAV, .MID, .AIF or .M4A format.
Internet file: if you select this option, enter the URL address where the video or audio file is located on the Internet.
YouTube/Vimeo Video URL: If you select this option, enter the URL address where the video/audio file you want to import can be found in the page of a portal such as YouTube™ or Vimeo.

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.

Different players are used for playing the various video/audio file formats. If the browser supports the HTML5 video tag and the file's codec, then it will use WebSite X5 Media Player to display/play files in .MP4, .WEBM and .OGG formats. All other formats are handled as shown in the table:


Video File

Audio File

Adobe Flash Player®



Microsoft® Windows Media Player®

.AVI, .WMV and .MPG

.WAV and .WMA

QuickTime® Player


.M4A and .AIF

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™