Android remote video
Hello,
I'm using the following code to add a video player to a window:
var w = Ti.UI.createWindow({});
var vp = Ti.Media.createVideoPlayer({
contentURL:videoURL,
backgroundColor:'#000',
fullscreen:true
});
w.add(vp);
vp.play();
It works perfectly on iPhone but crash on Android:
Runtime Error
Wrapped java.lang.
IllegalArgumentException: argument type mismatch
I'm not sure if it's an unsupported feature just yet, as only the local video exemple is in the KitchenSink app for Android.
If anyone could point me to the right direction, that would be great!
Thanks for your help.
1 Answer
-
I finally got so mad at the Titanium Video Player I ended up just adding a WebView that embedded the Video in HTML. Worked MUCH better that way.