1 Reply Latest reply on Feb 20, 2013 9:23 AM by Josie_X

    JS to open a video doesnt work

    Josie_X

      Error showed: Acrobat found error to display this media clip.

      What is wrong with this code???

       

      var myURLClip = "http://archive.org/download/HowtoBeW1949/HowtoBeW1949.avi";

      args = {

      URL: myURLClip,

      mimeType: "video/x-msvideo",

      doc: this,

      settings:

      {

      players: app.media.getPlayers("video/x-msvideo"),

      windowType: app.media.windowType.floating,

      floating: { height: 400, width: 600 }

      }

      }

      app.media.openPlayer(args);

       

      I tried with several mime types:

      x-msvideo

      -msvideo

      ...

      the same occur with other formats (mpg, swf...)

       

      thank you for any help.