I have a RubyMotion application that is completely portrait (no landscape), but loads BW::Media.play_modal
for an external MP4 video URL that I'd like to play in landscape mode.
It's loaded like this using RMQ, PM, and BW:
def on_load
rmq(@object).on(:tap) do
BW::Media.play_modal(@object.video_url)
end
end
I know how to enable autoRotate
for an entire screen/controller, but is there a way to force landscape mode only when the modal is played?
Thanks in advance for any help!