Quantcast
Channel: Adobe Community : Unanswered Discussions - Acrobat
Viewing all articles
Browse latest Browse all 73766

JS to open a video doesnt work

$
0
0

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.


Viewing all articles
Browse latest Browse all 73766

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>