Playing AVI files in AMS4 Errors

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • sstmsup
    Forum Member
    • Apr 2003
    • 2

    Playing AVI files in AMS4 Errors

    Hi,

    I'm hoping that the error I'm getting is a common one and easily answered.

    1. I am using AMS4 and the BoomBox template -
    2. I drag and drop an AVI file to the video window and it shows in the window.
    3. I compile to test my project "OK".
    4. When the project runs it now shows the Media Player Logo in the video window instead of my AVI file and errors with the following:

    Could Not Play Specified Media Player Object.
    The Media Player's State was incompatible with the action.
    'Video Player'

    Thats it.

    Any help would be very appreciated.

    Thanks
    Mike
  • ovm
    Indigo Rose Customer
    • Oct 2002
    • 242

    #2
    Re: Playing AVI files in AMS4 Errors

    do you have the right decoder installed? is it a MPG4 video?
    programming is very easy, just put the characters in the right order....

    Comment

    • sstmsup
      Forum Member
      • Apr 2003
      • 2

      #3
      Re: Playing AVI files in AMS4 Errors

      The file plays fine w/media player 9 on its own, and in the AVI Object Properties as well. If I tic the Start Automatically on it plays with limited controls functioning (no restart..etc... only pause works).

      Comment

      • ovm
        Indigo Rose Customer
        • Oct 2002
        • 242

        #4
        Re: Playing AVI files in AMS4 Errors

        I think the file could not be found. Maybe the filename ain't right or the right loation can not be found.
        If a file is not found, you will get an error as you discribed.

        mario
        programming is very easy, just put the characters in the right order....

        Comment

        • Darryl
          Indigo Rose Staff Member
          • Jul 2001
          • 1908

          #5
          Re: Playing AVI files in AMS4 Errors

          I believe the problem is that the video is set to "Start Automatically", therefore any video that is loaded into the player will automatically start to play on it's own without a "MediaPlayerObject.Play" action. Version 9.0 is a little fussy about the states, therefore if you try to play it while it is loading and starting to play, I believe you will receive that error. The version 6.4 control didn't have this issue.

          Therefore to resolve the issue, either uncheck the "Start Automatically" option on the Media Player Object, or remove any references to MediaPlayerObject.Play that exist after a MediaPlayerObject.Load. I believe they exist on the "On Show" event of the page, as well as on each lesson button. I'll enter a bug report for the issue.

          Comment

          Working...
          X