Referencing MP4s and SWFs from <object>

Does anyone know the proper way to reference, from an <object> element, an MP4 or SWF that has been imported into the CMS? Publication Manager keeps telling me "No versions available in the repository...".

Parents
  • It sounds like the import of the MP4 or SWF to the repository was not performed completely or correctly. The version is tracked in the baseline just like any other object (topic, map, image, etc.) and is independent of the reference in the XML. The reference in the XML should look something like the following:

    <object width="450" height="388" type="applications/x-shockwave-flash" data="GUID-6E50F898-39EE-45C5-B8C5-E54DE152B5CD" id="GUID-FEC177F5-8AE3-47BD-AA1E-2157DADD346A">
    <param name="movie" value="GUID-6E50F898-39EE-45C5-B8C5-E54DE152B5CD"/>
    <param name="allowsFullScreen" value="true"/>
    <param name="quality" value="high"/>
    </object>
Reply
  • It sounds like the import of the MP4 or SWF to the repository was not performed completely or correctly. The version is tracked in the baseline just like any other object (topic, map, image, etc.) and is independent of the reference in the XML. The reference in the XML should look something like the following:

    <object width="450" height="388" type="applications/x-shockwave-flash" data="GUID-6E50F898-39EE-45C5-B8C5-E54DE152B5CD" id="GUID-FEC177F5-8AE3-47BD-AA1E-2157DADD346A">
    <param name="movie" value="GUID-6E50F898-39EE-45C5-B8C5-E54DE152B5CD"/>
    <param name="allowsFullScreen" value="true"/>
    <param name="quality" value="high"/>
    </object>
Children
  • Thanks for your input, Mark. I think they are imported properly. I was successful in getting the SWF to appear in the output (btw, it does not work for me with the type set to "applications/x-shockwave-flash", but does when it is set to "application/x-shockwave-flash" [that is, no "s" in "application"]). However, I have not been able to get MP4s to display in the output yet. Still trying to figure out the right combination.