Source: https://vaultcrmhelp.veeva.com/doc/Content/CRM_topics/Multichannel/CLM/CreatingContent/SupportCustom.htm

## Supported Media Types for CLM Content

* Object Model

The CLM media player is optimized for electronic detailing with HTML5 media and various other digital assets. The media player supports images, video, and PDF, allowing reuse of existing media libraries.

**Who can use this feature?**

* Content Creator Users - Browser
* [Supported media types for CLM content](#MediaTypes)
* [Supported CLM JavaScript library functions for CRM Desktop (Windows)](#SupportJS)
* End Users - CRM Desktop (Windows), iPad, iPhone, Windows
* [Stamp media type for CLM key messages](#Stamping)
* Users do not require an additional license

### Supported Media Types for CLM Content as

[![Closed](../../../../../Skins/Default/Stylesheets/Images/transparent.gif)Content Creator Users](#)

When creating media, it is important to consider both the quantity and image quality of the media to ensure the Vault CRM app responds quickly and users do not wait for long periods while media downloads. Larger files are supported, but longer sync times ensue and there is a risk of poorer performance when displaying the media in the media player.

The following media types are supported:

| Type | Ext | Display | Additional Guidelines |
| --- | --- | --- | --- |
| HTML5 | .html  .htm | Displays full screen and in landscape view | * Can be multiple files of type HTML, CSS, images, video and PDF and can be stored in multiple folders * Media included with the HTML should be referenced using relative paths, such as /css/styles.css rather than http://server.com/css/styles.css. Media referenced using absolute paths is not available when users are out of network coverage. * Swiping left or right navigates to other pieces of media, but dragging left, right, and selecting are allowed for in-page navigation. Overriding the swipe gesture is supported. (See [Disabling User Actions for Key Messages](../ManagingMediaPlayer/DisableActions.htm) for more information.) * Embedded Flash videos are not supported |
| Video | .mp4  .m4v  .mov  .avi | * Displays full screen and in landscape view * Small videos stretch to fill the screen | * Large files increase the battery use of the device during sync: using the highest level of video compression that creates the desired effect is strongly recommended * iPad - Videos must be playable in the iPad video player (see Apple's Tech Specs for more information)   + H.264 MPEG4 is recommended   + The TV and Video section of Apple's Tech Specs provides more detailed information * iPhone - Videos always display in fullscreen * CRM Desktop (Windows) - Only displays .mp4 |
| Images | .jpg  .png | * Displays full screen and in landscape view * If the resolution of the image is larger than the display, pinch to zoom is allowed | Images should be the smallest resolution and compressed as much as possible without impacting quality. The maximum supported resolution for images is 2499 x 2499. |
| PDF | .pdf | * Displays full screen and in landscape view * Stretches to fill the screen width   Scrolls vertically | * Multi-page PDFs are supported * For presentations, using HTML5 or images is recommended instead of PDF as those formats can be presented more easily * PDF resolution should be 150 dpi with medium quality for image compression * Hyperlinks are retained in PDFs, allowing users to navigate within the PDF via internal hyperlinks or access external websites * On CRM Desktop (Windows), hyperlinks are supported while presenting content |
| PPTX | .pptx | Displays using native PPT settings | * Library media that can be opened in PowerPoint displays the PowerPoint logo on the top right of the thumbnail. Selecting the logo launches the presentation in the PowerPoint application. * Sub-presentations are not supported for PowerPoint presentations |

### Stamping Media Type for CLM Key Messages as

[![Closed](../../../../../Skins/Default/Stylesheets/Images/transparent.gif)End Users](#)

Admins can report on the media\_type\_\_v field to analyze HCP engagement with different types of content. When end users navigate to the media library, the key\_message\_\_v records for each presentation are appropriately stamped with one of the following media\_type\_\_v values:

* html\_\_v
* video\_\_v
* image\_\_v
* pdf\_\_v
* powerpoint\_\_v
* website\_\_v

If the media\_type\_\_v field is already populated, it is not stamped again.

The media\_type\_\_v field is not stamped on shared resources.

### Supported CLM JavaScript Library Functions for CRM Desktop (Windows) as

[![Closed](../../../../../Skins/Default/Stylesheets/Images/transparent.gif)Content Creator Users](#)

To provide flexibility when designing new presentations and enable reusing existing presentations, the following functions are supported on CRM Desktop (Windows):

* [createRecord()](https://developer.veevacrm.com/doc/Content/CRM_topics/Vault/clm-vault.htm#createRecordobjectvaluescallback)
* [getDataForCurrentObject()](https://developer.veevacrm.com/doc/Content/CRM_topics/Vault/clm-vault.htm#getDataForCurrentObjectobjectfieldcallback)
* [gotoSlide()](https://developer.veevacrm.com/doc/Content/CRM_topics/Vault/clm-vault.htm#gotoSlidekeypresentation)
* [gotoSlideV2()](https://developer.veevacrm.com/doc/Content/CRM_topics/Vault/clm-vault.htm#gotoSlideV2keypresentation)
* [launchApprovedEmail()](https://developer.veevacrm.com/doc/Content/CRM_topics/Vault/clm-vault.htm#launchApprovedEmailWithVeevaContentemailtemplateemailfragmentsveevacontentcallback)
* [nextSlide()](https://developer.veevacrm.com/doc/Content/CRM_topics/Vault/clm-vault.htm#nextslide)
* [prevSlide()](https://developer.veevacrm.com/doc/Content/CRM_topics/Vault/clm-vault.htm#prevslide)
* [queryRecord()](https://developer.veevacrm.com/doc/Content/CRM_topics/Vault/clm-vault.htm#queryRecordobjectfieldswheresortlimitcallback)

  When using queryRecord for the clm\_presentation\_\_v, clm\_presentation\_slide\_\_v, or key\_message\_\_v objects, the queries run against the local database. For all other objects, the query runs against CRM data online.
* [updateCurrentRecord()](https://developer.veevacrm.com/doc/Content/CRM_topics/Vault/clm-vault.htm#updateCurrentRecordobjectvaluescallback)
* [updateRecord()](https://developer.veevacrm.com/doc/Content/CRM_topics/Vault/clm-vault.htm#updateRecordobjectrecordvaluescallback)

### Related Topics

[Packaging Custom CLM Content](PackageContent.htm)

[Creating Interactive HTML Content](CreateInteractiveHTML.htm)
