Does media.playVideo() work on Corona SDK with windows OS

When I open a blank file with only the code:

function showSuccess()
print( “success” )
end
media.playVideo( “hummingbird.mp4” , true, showSuccess)
 
The corona simulator displays nothing on screen, and the output is empty as well. On my android phone the video plays fine.

Question: Can corona simulator handle media.playVideo while i’m using a windows OS? If not possible on Windows. How can I get around this? On bigger projects I would need the showSuccess function to print “success” in order to debug.

Thank you

Hi @znick46,

This API is only supported on devices and the Mac Simulator, as shown in the docs:

http://docs.coronalabs.com/api/library/media/playVideo.html

You may opt to use native.newVideo, but that carries a few restrictions of its own:

http://docs.coronalabs.com/api/library/native/newVideo.html

Hope this helps,

Brent

Hi @znick46,

This API is only supported on devices and the Mac Simulator, as shown in the docs:

http://docs.coronalabs.com/api/library/media/playVideo.html

You may opt to use native.newVideo, but that carries a few restrictions of its own:

http://docs.coronalabs.com/api/library/native/newVideo.html

Hope this helps,

Brent