Format of Media Link

* This feature requires the professional edition. *

The format of multimedia link is:

macrobject:media::[URL],type=[MediaType],[option=value],[option=value],...

 

[URL]

The URL of the multimedia file. Can point to a local file or an Internet URL.

For examples:

.\InsertFlash.swf

D:\Flashs\InsertFlash.swf

/images/oql.swf

/images/flash.aspx?id=1

 

 

[MediaType]

This is optional. Required only when the URL is not end with a proper file-extension. By default, the valid values are:

Flash

swf

Windows Media Video

wmv

mpg

mpeg

Windows Media Audio

wav

wma

mp3

mid

midi

 

 

[option=value]

Different type of multimedia file has different options.

There are no options for Windows Media Videos and Windows Media Audios.

For Flash, the options are:

width=number

height=number

 

 

 

[Example]

The above flash file is inserted by insert this media link:

macrobject:media::.\InsertFlash.swf,width=300,height=60

 

[Note]

Flash file can be either local or on a web server. Windows Media Audio and Windows Media Video file can be on web servers only.

 

Related Topics

Media File Add-in