Media Elements

For file types: JPG, PNG, and GIF

PHP Code Snippet (Dynamic)

<?php echo $mm->getPrintMediaItemWrapper(MSDB_ID); ?>
//COMET API Options: (msdb id, caption, class, style) 
Name
Type
Default
Description

msdb id

number

00000

This is the given MetEd MSDB File ID found in the Active Projects records.

caption

string

empty

Set a caption for this media item.

class

string

empty

Set a HTML class attribute. (This removes the DIV.center wrapper)

style

string

empty

Set inline styles. (This removes the DIV.center wrapper)

Video


For file types: MP4

Video size best practices

To create standard 16:9 videos for this template use:

  • 1280 x 720

  • 800 x 450

PHP Code Snippet (Dynamic)

<?php echo $mm->getPrintMediaItemWrapper(MSDB_ID); ?>
//COMET API Options: (msdb id, caption, class, style) Set additional options in MediaSpec DB
 
//Deprecated:
/*<?php echo $mm->getPrintMP4Wrapper(MSDB_ID, false, false); ?>*/
//COMET API Options: (msdb id, autoplay, loop) 
Name
Type
Default
Description

msdb id

number

00000

This is the given MetEd MSDB File ID found in the Active Projects records.

caption

string

empty

Set a caption for this media item.

class

string

empty

Set a HTML class attribute. (This removes the DIV.center wrapper)

style

string

empty

Set inline styles. (This removes the DIV.center wrapper)

HTML Code Snippet (Static)

Audio


Basic graphic data looper with controls

PHP Code (Dynamic)

HTML Code Snippet (Static)

Other Media


HTM (embedded iframe)

Basic graphic data looper with controls

PHP Code (Dynamic)

HTML Code (Static)

PDF (documents and other files)

For PDF files, simply link to the actual file with an external target and let the client decide how to handle it.

Last updated