cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Add an MP4 File Into PDMLink

JIMVANDRAGT
1-Visitor

Add an MP4 File Into PDMLink

Good Day Everyone,

I'm trying to add an MP4 file into PDMLink for users to be able to view. I can add the file OK but when I try to open the file from PDMLink I receive an error:
[cid:image001.png@01CF6AC0.3578AD80]

What's weird is I can open the file in c:\temp and it will play just fine.

I've got to be missing something obvious.

Jim

Jim Van Dragt
PLM Architect
Information Technology

hermanmiller.com
1 REPLY 1

Jim - You need to create a data format (DataFormat) so that Windchill can tell the browser what app to launch the file in. It would be similar to the following item where you would mime type and other details. More examples can be found in <windchill home=">/loadFiles/dataformats.xml


<nmloader>
<csvdataformat handler="wt.content.LoadDataFormat.createDataFormat">
<csvformatname>MPEG Movie Clip</csvformatname>
<csvmimetype>video/mpeg</csvmimetype>
<csvdescription>mpeg</csvdescription>
<csvindexable>FALSE</csvindexable>
<csvfileformatonly>TRUE</csvfileformatonly>
<csvstandardiconstr>wt/clients/images/movie.gif</csvstandardiconstr>
<csvextensions>M1V MP2 MPA MPE MPEG</csvextensions>
</csvdataformat>
</nmloader>

Raju Pulavarthi
-<blocked::<a style="COLOR:" blue;=" text-decoration:=" underline&quot;=" target="_BLANK" href="mailto:-">">mailto:->
Announcements


Top Tags