Search code examples
scorm

How I can specify mime types for media in imsmanifest.xml file?


I am preparing SCORM package and I have problem with some mediatypes. When running inside SAP authoring tool .mp4 file is served as "media" mime type. When playing in Reload player I can see that .mp4 is served as text/plain. Is there a way to specify mime types in imsmanifest.xml file? Here is a snippet for resources in my imsmanifest.xml file:

<resource identifier="RES_COMMON" type="webcontent" adlcp:scormtype="asset" href="content_frameset.html">
    <file href="runtime_media/picture/shared/rm100.png" />
    <file href="runtime_media/video/nor/statoil_risk_module_1_3.mp4" />
    <file href="runtime_media/video/nor/statoil_risk_module_1_3.nor.vtt" />
    <file href="runtime_media/video/nor/statoil_risk_module_2_3.mp4" />
    <file href="runtime_media/video/nor/statoil_risk_module_2_3.nor.vtt" />
    <file href="runtime_media/video/nor/statoil_risk_module_3_3.mp4" />
    <file href="runtime_media/video/nor/statoil_risk_module_3_3.nor.vtt" />
    <file href="runtime_media/video/nor/statoil_risk_module_4_2.mp4" />
    <file href="runtime_media/video/nor/statoil_risk_module_4_2.nor.vtt" />
</resource>

Solution

  • MIME types are handled by the server serving the content, they are independent of SCORM and the imsmanifest.xml file. SCORM does not have any control over how the server handles MIME types. If you are running a local server (including servers that might be built-in to tools), you will need to configure it to handle the MIME types in question.

    For example: