Video Player for Android?
My question has been answered in the below post.
2 Answers
-
Not sure how I figured this out, but for the Android-specific code:
if (Ti.Platform.name == 'android') { var activeMovie = Titanium.Media.createVideoPlayer({ media:contentURL, backgroundColor:'#000', movieControlMode:Titanium.Media.VIDEO_CONTROL_DEFAULT, scalingMode:Titanium.Media.VIDEO_SCALING_MODE_FILL, }); }
I used "contentURL" instead of "media" and it worked! :)
-
You need to attach the trace level log to see what the crash is.