Can't play wmv, avi, asf on Android

I use sample code Corona provided to play video, as blow:

function posterFrame:tap( event )
msg.text = "Video Done" -- message will appear after the video finishes
media.playVideo( "5807635.wmv", false )
end

But it responses "Sorry! Can't play the video" (transfer from Chinese). I test it on ViewPad7(Android 2.2) and Acer ICONIA Tab A500(Android 3.0.1) and get the same dialog message. But the "5807635.wmv" can be played on my MacBook. And I retry .avi and .asf and the results are same message. So what's wrong ?

You can't play a WMV file on any kind of device (well, natively anyway):

Android Media Formats

You should really stick to the mp4 container with H264.

It is OK! I convert wmv file to mp4 file. But the file name can't be named all number. ex: 5807625.mp4. >"<

views:1736 update:2011/10/8 15:12:54
corona forums © 2003-2011