Process to play video from a local folder with windows desktop application usingTitanium are follows :
In titanium we have a html page where we can specify the UI of the application and we can also have javascript file where we can write our scripts.
So lets in our html page we have defined a div which will used to display the video
In script file :
//flash video file path
var filePath = “file:///D:/Video/testVideo.swf”;
//Code for the player
playerCode = ‘’;
playerCode += ‘ ’;
playerCode += ‘ ’;
playerCode += ‘ ’;
playerCode += ‘’;
//Assign the player code to the div in UI
var player = document.getElementById(“divPlayer”);
player.innerHTML = embedCode;
Reference : http://www.codeboxed.com/2011/03/embeding-video-files-in-a-titanium-desktop-application/