Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 19 of 19

Thread: Video Playback Issues Summary

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Mar 2009
    Posts
    401
    C. HTML Embedded Video

    The easiest solution to overcome the initial problem is to simply use an HTML embedded video. By embedding your video file into an HTML document, you're allowing for an exterior mechanism to play the file. If MediaLab can't play the file, another program may have more success. By embedding your video file into an HTML file, and then using this HTML file as a stimulus for your experiment, you're allowing for the video file to be played through your internet browser through MediaLab, rather than directly through MediaLab itself. The solution not only allows for the same effect to take place as simply running the video file through MediaLab's video playback mechanism - many more options are opened in the process.

    For example, if you choose to embed your video files, you could technically display multiple video files at once and have them all play at the same time. You can't do this with the normal Movie item-type that MediaLab supports.

    Embedding Manuals
    Quick Time: http://www.apple.com/quicktime/tutorials/embed.html
    Windows Media Player: http://www.mioplanet.com/rsc/embed_mediaplayer.htm

    Video Embedded HTML Tutorial / Examples
    [ copied directly from: http://www.empirisoft.com/support/showthread.php?t=654 ]
    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>
    -

    A variety of additional parameters that you can set on an embedded video can be found here: http://www.empirisoft.com/support/showthread.php?t=236

    For an easier, all-purpose embedding code, you can also try:
    www.tizag.com/htmlT/htmlvideocodes.php
    e.g.,
    <embed src="movies\mymovie.mpeg" autostart="true" />
    or
    <a href="movies\mymovie.mpeg">click me to play</a>

    Please feel free to post any additional samples that you may have created that could assist others in working with embedded videos.
    Last edited by jarvis24; 11-10-2009 at 04:06 AM.

Similar Threads

  1. Video issues re color, size, placement and quality
    By cluiwk in forum DirectRT Older Versions: Troubleshooting
    Replies: 3
    Last Post: 04-23-2008, 11:52 AM
  2. Distorted video playback
    By baker in forum MediaLab Older Versions: General Questions
    Replies: 3
    Last Post: 01-10-2008, 09:06 AM
  3. Voice Response and .WAV Playback Issues
    By bencardiff in forum MediaLab Older Versions: Troubleshooting
    Replies: 1
    Last Post: 12-07-2007, 11:30 AM
  4. Pictures of Faces: Facial Database Summary
    By jarvis24 in forum DirectRT Older Versions: Sharing Area
    Replies: 1
    Last Post: 05-03-2006, 07:29 AM
  5. Pictures of Faces: Facial Database Summary
    By jarvis24 in forum MediaLab Older Versions: Sharing Area
    Replies: 1
    Last Post: 05-03-2006, 07:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •