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) 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) 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.
Deprecation Notice!
Support for all these file types: -.SWF -.WAV -.FLV -.WMV -.AVI -.MOV has been deprecated for development, please convert them to a compatible file type to use them in a LC template based lesson.
Last updated