CLI version 3.2.1, Titanium SDK version 3.2.2.GA - IOS 7.1
how to set the local file url to videoPlayer ? the url property when set takes the url from the app not from the file system
var videoPlayer = Titanium.Media.createVideoPlayer({ top : 2, autoplay : true, backgroundColor : 'blue', height : 300, width : 300, mediaControlStyle : Titanium.Media.VIDEO_CONTROL_FULLSCREEN, scalingMode : Titanium.Media.VIDEO_SCALING_ASPECT_FIT, sourceType : Titanium.Media.VIDEO_SOURCE_TYPE_FILE, url : "8625b0fb-340-f96d-25-bec4b07e8f4.mp4" }); Ti.API.info("videoPlayer.url : " + videoPlayer.url); this prints : videoPlayer.url : file:///Users/username/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/15A55A8E-D906-4177-981E-75E94B746334/myapp.app/8625b0fb-340-f96d-25-bec4b07e8f4.mp4which is wrong it should only print the file name
i tried adding file:// to the beginning of url but then the url property is undefined