Flash properties
When inserting flash, its properties can be specified on the following two tabs:
General
| • | URL - URL of the attached flash file. |
| • | Width, Height - the width and height of the flash player; 300x200px is used by default. |
| • | Aspect ratio can be locked ( |
| • | If unlocked ( |
| • | You can also reload the default dimensions using the Reset size ( |
| • | Autoplay - indicates if the video plays automatically when the player loads. |
| • | Loop - indicates if the player plays the video repeatedly in a loop. |
| • | Enables menu - indicates if flash options are available in the flash context menu. The flash context menu is displayed on right click of the flash player. |
Advanced
| • | Scale - defines how the flash player stretches, shrinks and resizes when the browser window is resized. |
| • | ID - the identifier of the flash HTML object. |
| • | Advisory title - the text displayed when mouse cursor is placed over the flash player. |
| • | Class - the flash element CSS class. |
| • | Style - flash element additional styles. |
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> |
Detailed information about the WYSIWYG editor can be found in the WYSIWYG editor chapter in the Content management section of the Developer's Guide.