Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 11 of 11

Thread: Controlling Movie Files

  1. #1
    Join Date
    Dec 2005
    Posts
    3

    Controlling Movie Files

    Is it possible for a subject to manipulate movies within MediaLab? I'd like to show the subjects several videos and have them perform a series of ratings on the videos, but I'd like for each movie to be paused and repeated at will by the subject. The only way I can think of is to create a powerpoint file to do this, but is there some other way directly within MediaLab?

  2. #2
    Join Date
    Nov 2005
    Posts
    3,328
    Was just working on this--try opening the attached html file (see below) in a text editor and change "test.mpg" to the name of one of your videos. Put the video in a folder with the html file--and then open the html file in IE--does it play? If so, you can present this simple HTML page as a background to any item--simply modifying the the name of video clip. For the background, just specify:
    Code:
    embed.htm (t.1,l.1,w.5,h.5)
    Or whatever works given the size of the video. There are other settings you can change in the html file if you want to experiment.
    Attached Files Attached Files

  3. #3
    Join Date
    Feb 2008
    Posts
    13

    Inserting video with controls in html

    [edited by moderator]
    I have been trying to get a video into an html page but everything I'm looking up needs a server, which we don't have because we're not trying to make a web page- just questionnaires. The video needs to be able to be stopped/started and play automatically. I tried using the embed.htm file as said in the post above and the video did not play.
    Last edited by jarvis24; 03-28-2008 at 02:20 PM.

  4. #4
    Join Date
    Nov 2005
    Posts
    3,328
    Does the posted sample work if you run it unaltered? If so, what kind of video are you trying to play?

  5. #5
    Join Date
    Feb 2008
    Posts
    13

    windows media player

    No, the posted one does not work. It displays the windows media player but not a video. I am trying to play a .wmv.

  6. #6
    Join Date
    Nov 2005
    Posts
    3,328
    Things seem to have been affected by the release of the newer version of the Windows Media Player.

    Try typing these lines (one at a time) from the Run command on the Windows Start Menu:

    regsvr32 wmpdxm.dll
    regsvr32 wmpasf.dll
    regsvr32 wmp.dll

    That registers three important files that are required in order that the new WMP handles the embedded video rather than the old WMP. Try that and see if it helps. I've attached a slightly revised embed.htm file also. It has these comments included as well as a line that prevents IE from issuing a hassling statement when trying to open the html file.
    Attached Files Attached Files

  7. #7
    Join Date
    Nov 2005
    Posts
    3,328
    Note, here are some additional (optional) parameters that can be used when embedding a video within an HTML file via the attached sample above:
    Code:
     
     <param name="AudioStream" value="-1">
     <param name="AutoSize" value="-1">
     <param name="AutoStart" value="1">
     <param name="AnimationAtStart" value="0">
     <param name="AllowScan" value="-1">
     <param name="AllowChangeDisplaySize" value="-1">
     <param name="AutoRewind" value="0">
     <param name="Balance" value="0">
     <param name="BaseURL" value>
     <param name="BufferingTime" value="5">
     <param name="CaptioningID" value>
     <param name="ClickToPlay" value="1">
     <param name="CursorType" value="0">
     <param name="CurrentPosition" value="-1">
     <param name="CurrentMarker" value="0">
     <param name="DefaultFrame" value>
     <param name="DisplayBackColor" value="0">
     <param name="DisplayForeColor" value="16777215">
     <param name="DisplayMode" value="0">
     <param name="DisplaySize" value="0">
     <param name="Enabled" value="-1">
     <param name="EnableContextMenu" value="-1">
     <param name="EnablePositionControls" value="-1">
     <param name="EnableFullScreenControls" value="0">
     <param name="EnableTracker" value="-1">
     <param name="Filename" value="sampleonelq.asx">
     <param name="InvokeURLs" value="-1">
     <param name="Language" value="-1">
     <param name="Mute" value="0">
     <param name="PlayCount" value="1">
     <param name="PreviewMode" value="1">
     <param name="Rate" value="1">
     <param name="SAMILang" value>
     <param name="SAMIStyle" value>
     <param name="SAMIFileName" value>
     <param name="SelectionStart" value="1">
     <param name="SelectionEnd" value="1">
     <param name="SendOpenStateChangeEvents" value="-1">
     <param name="SendWarningEvents" value="-1">
     <param name="SendErrorEvents" value="-1">
     <param name="SendKeyboardEvents" value="0">
     <param name="SendMouseClickEvents" value="0">
     <param name="SendMouseMoveEvents" value="0">
     <param name="SendPlayStateChangeEvents" value="-1">
     <param name="ShowCaptioning" value="0">
     <param name="ShowControls" value="1">
     <param name="ShowAudioControls" value="0">
     <param name="ShowDisplay" value="0">
     <param name="ShowGotoBar" value="0">
     <param name="ShowPositionControls" value="1">
     <param name="ShowStatusBar" value="0">
     <param name="ShowTracker" value="1">
     <param name="TransparentAtStart" value="0">
     <param name="VideoBorderWidth" value="0">
     <param name="VideoBorderColor" value="0">
     <param name="VideoBorder3D" value="0">
     <param name="Volume" value="-230">
     <param name="WindowlessVideo" value="0">

  8. #8
    Join Date
    Feb 2008
    Posts
    13
    It still is not working (I've tried on multiple computers). I saved the html in notepad as an .htm file, replaced the "test.wmp" with the title of the video on here but ending in .wmv, and saved it in the same file as the video and the video is not playing when I open the page as a web page. (the test video did not show either- but I'm not sure that it is supposed to). I also ran the the things in the start menu you had me run. I can't determine what the problem is- it seems that this should be simple? Thank you for your help. Please let me know if/what I'm doing wrong or any alternative solution.

    I also need to embed a windows audio file with controls.

  9. #9
    Join Date
    Nov 2005
    Posts
    3,328
    Not much I can do here because it has to be able to play in Internet Explorer otherwise it will never work in MediaLab. And I'm not an HTML expert so I'm just offering suggestions at this point. When you try using the new HTML code, does the player at least LOOK different in IE than it did when you were using the old code?

  10. #10
    Join Date
    Nov 2005
    Posts
    3,328
    [edited from support email response]

    We started working on a new laptop today and it worked on that. Sorry for the trouble, and thank you for the help!

  11. #11
    Join Date
    Mar 2009
    Posts
    401

Similar Threads

  1. Online ratings of a movie clip causes error
    By jarvis24 in forum MediaLab Older Versions: Troubleshooting
    Replies: 1
    Last Post: 10-10-2006, 12:05 PM
  2. Monitor mouse clicks during a movie
    By jarvis24 in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 09-11-2006, 12:26 PM
  3. controlling timing of auditory probes
    By baruche in forum MediaLab Older Versions: How Do I...
    Replies: 6
    Last Post: 04-26-2006, 04:25 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
  •