When inserting both audio and video, the following properties can be set:
• | URL - URL of the attached audio/video file. |
• | Width, Height - the width and height of the media player; 300x200px is used by default. |
• | Aspect ratio can be locked (), which makes the second dimension recalculated automatically when you change one dimension, while the ratio between the two dimensions is kept. |
• | If unlocked (), dimensions can be entered manually into both fields, without the ratio being kept. |
• | You can also reload the default dimensions using the Reset size () icon. |
• | Autoplay - indicates if playback starts automatically when the page is loaded. |
• | Loop - indicates if playback is performed repeatedly in a loop. |
• | Show controls - indicates if playback controls (play, stop, fast forward, ...) are displayed. In some browsers, the controls may not be displayed if the player size is too small even if this option is enabled. |
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> |
Detailed information about the WYSIWYG editor can be found in the WYSIWYG editor chapter in the Content management section of the Developer's Guide.
Page url: http://devnet.kentico.com/docs/6_0/contexthelp/index.html?audio_and_video_properties.htm