motion/media/player.rb in bubble-wrap-1.1.3 vs motion/media/player.rb in bubble-wrap-1.1.4

- old
+ new

@@ -85,10 +85,10 @@ end end if display_modal @presenting_controller = options[:controller] - @presenting_controller ||= UIApplication.sharedApplication.keyWindow.rootViewController + @presenting_controller ||= App.window.rootViewController @presenting_controller.presentMoviePlayerViewControllerAnimated(@media_player) else if block.nil? raise Error::NilPlayerCallback, "no block callback given in #play; you need\ to supply one if options[:modal] == false" \ No newline at end of file