Getting started with video in RubyMotion

Simple example of playing a video in RubyMotion, with resizing on rotation using MotionKit and AutoLayout. Let's get started. $ motion create video-example Tell RubyMotion we are going to use the MediaPlayer framework. This provides the builtin iOS video player we will use. Inside the setup block in Rakefile, add app.frameworks += ['MediaPlayer']. For AutoLayout, add gem 'motion-kit' to the Gemfil…

Read more