I agree that the playVideo needs better options for this. In fact, I think I would prefer it to be handled more like this…
local options =
{
showControls = false,
supportedOrientations = {"portrait", "portraitUpsideDown", "landscapeRight", "landscapeLeft"},
listener = myListener
}
media.playVideo("MyMovie.mp4", options)
The “supportedOptions” would then list out all of the orientations the video player would support, and if more than one orientation is listed, then it would support orientation changes on the fly. This would then mimic how it is handled in our “build.settings” file.
That said, we can’t work on this just yet, but I will add it to our wish-list. This something I would have to coordinate with one of our iOS developers so that there is feature parity between both Android and iOS… and our iOS developers are very busy making awesome stuff at the moment.
[import]uid: 32256 topic_id: 15648 reply_id: 58231[/import]