Hello all,
I'm testing the video player in Titanium and I'm running into an issue. iOS video player works just fine with audio and video. The android video player shows the video fine, but without audio. I've made sure that my media volume is up on my Galaxy nexus, so that's not the issue. Everything is up to date in Titanium and on my Nexus.
Can anyone help? Code pasted below. Thanks!
var win = Titanium.UI.currentWindow;
// vURL is set below. vURL is the remote video url, which is a h.264 mp4 file
var videoPlayer = Titanium.Media.createVideoPlayer({ top : 2, autoplay : true, fullscreen : true, backgroundColor : 'black', height : 200, width : 300, mediaControlStyle : Titanium.Media.VIDEO_CONTROL_DEFAULT, scalingMode : Titanium.Media.VIDEO_SCALING_ASPECT_FIT });
videoPlayer.url = win.vURL; win.add(videoPlayer); win.open();