RSS News Feed
Movie Masher

open source online video editor and encoding api

 
 
 
 
 
 
This tag is used to specify various application wide options and preferences. The type attribute indicates which kind of option is being set.

Specifying the maximum memory usage in bytes:

<option
  type='memory' maximum='104857600'
/>

Specifying the mash defaults:

<option 
  type='mash' quantize='10' 
  imageseconds='5' themeseconds='5' effectseconds='5' 
/>

Specifying a remote media server:

<option
  type='server' policy='http://www.example.com/crossdomain.xml' 
/>

Specifying a custom font:

<option
  type='font' id='freesans' url='PATH/TO/FONT.swf@FreeSans' 
/>

An option tag is required for each font id referenced in a control or media tag's font attribute. Advanced antialias mapping options can be turned on for a font by specifying the antialias attribute and adding sub tags for each map:

<option
  antialias='advanced' 
  type='font'
  ...
/>
  <aliasmap incut='255' outcut='255' size='8' />
  <aliasmap incut='0' outcut='0' size='14' />
</option>

For the most precise control, a separate tag can be included for each different size that will be used. Keep in mind that font size for media items is defined as a percentage of the mash height, so the size attribute in the map must be scaled accordingly. Only integer values are used for font sizes so the result will be rounded.

Attributes


antialias: boolean - zero (false) or one (true)
type: 'server' or 'font'
url: valid URL to an SWF or crossdomain XML file
 
© Movie Masher, Inc. 2006-2013