Another solution for playing video files, is to create an html file and play them as an HTML item in MediaLab rather than as a Movie item. A sample is attached as a zip file.
The sample HTML can be modified in any text editor (like the Windows Notepad). Or you can create it from scratch using an empty text file.
To create the HTML item from scratch:
Copy the code below into the empty text file and change the name of the video file from "text.wmv" to whatever your video is called (note the name is used twice!). Also note that in this sample, the video should be located in the same folder as the HTML file.
Code:
<object type="video/x-ms-wmv" data="test.wmv" width="320" height="255">
<param name="src" value="test.wmv">
<param name="autoStart" value="1">
<param name="showcontrols" value="false">
</object>
The above sample works with the Windows WMV format. For MPG and MOV file formats, you can use the following variations:
MPG
Code:
<object data="test.mpg" type="video/mpeg" width="320" height="255">
<param name="src" value="test.mpg">
<param name="autoStart" value="1">
<param name="showcontrols" value="false">
</object>
AVI
Code:
<object data="test.avi" type="video/x-msvideo" width="320" height="255">
<param name="src" value="test.avi">
<param name="autoStart" value="1">
<param name="showcontrols" value="false">
</object>
MOV (QuickTime)
Code:
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www.apple.com/qtactivex/qtplugin.cab"
width="320" height="255">
<param name="src" value="test.mov" >
<param name="controller" value="false" >
<param name="autoplay" value="true">
</object>