Guys,
does anyone know of how to work INSIDE an app with a 3rd party video player (like e.g. Vplayer) over the default videoplayer?
The videoview wrapper that is standard in B4A only gives me limited control (especially over the video orientation) and it seems to completely ignore changes to the default app settings of Android. I can set e.g. Vplayer as the default video playing app just fine to handle video plays when started through e.g. the file browser. However, even with these settings done correctly, when I call videoview in my App, it ignores this (new) default player and still passes it to the standard android videoplayer. Arggghhhh!
Is there a way to use e.g. an intent to start a 3rd party video player to play a specified file? Can you pass arguments (this may be the wrong wording...)?
I've experimented with intent and it works fine without passing an argument/ parameter such as a filename+location. No problem starting Angry Birds from my app for example...
Obviously, if I want to play a known video file, I need to pass these details when using an intent. But how to do that?
Or better yet, if somebody can tell me how to change e.g. the playing orientation of a standard videoview, that would even be better
All I want, is to play a video ''on its side'' inside a fixed Portrait view of the device.. Which would cause it to look like it is playing landscape (and people would rotate the device). I just do not want to rotate my entire orientation (via e.g. phone.setscreenorientation) to prevent the returning of my app to Activity_Create and thus the erasing of my settings/state. I know I can use Statemanager to save and return but .... that is just such a hassle and a big patch to do something rather simple... 99% of my app is in portrait but when I play a video, I like it to play ''landscape''. Vplayer allows for that perfectly by a simple change in its internal settings. So I can hold my phone in portrait mode and when I tap a video, it plays it ''landscape''. Great!
Thanks,
Eric