I am creating a Video Library wherein if a user click on any listed video file, same needs to be played in their default player.
I have used File.openWithDefaultApplication() method but with no success. However if the default application for the selected video is Window media player or quick time then default application launches and plays selected video but in case if default application for the selected video is VLC player then there is no responce form AIR application.
Is there any way by which i can launch video in VLC player.
Thanks in advance
you could play most of your video content directly on VLC player (except of DRM-protected content that could require WMP for instance) directly interfacing with VLC executable using NativeProcess I think.
Here is Adobe's example of interacting with VLC:
While it discusses features like screen recording - it shows how to control/interact with VLC tool directly. The VLC has command line interface on all platforms:
To just playback audio via native process only single argument is requred: URL (file//....) to local video that is to be played with VLC I think.
Using VLC directly would offer you much more control on how it can be used to playback your content I think (and you could ship executables as command line tools with your application too I think),