title: Youtube video inside modal ViewController, strange crash 'UIViewControllerHierarchyInconsistency'
body: <p>I have a problem with a strange crash on iPad 5.0.
  This crash only occurs on iOS 5.0 and with iPad with a modal ViewController and that ViewControler style set to anything but fullscreen, which works fine.</p>
  
  <p>I included a code example. If you run it and press the Pagesheet button a Window will appear with a UIWebView and a Youtube video. Once the video start, press "fullscreen" to trigger the bugg. (Only iOS 5, it will work in iOS 4.x).</p>
  
  <p>If you press the fullscreen button, the only difference will be that I am using a fullscreen style for the modal UIViewController and the video plays just fine.</p>
  
  <p>Does anyone know a work around, or a better solution?</p>
  
  <p><em>Terminating app due to uncaught exception "UIViewControllerHierarchyInconsistency" reason: "child view controller: "UIViewController: 0x85d5e00" should have parent view controller:"NewsTableViewController: 0x855f7b0" but requested parent is:"MPInlineVideoViewController: 0x85d3a20"</em></p>
  
  <p>Source code (Dropbox) <a href="http://db.tt/xqMbeYP1" rel="nofollow">http://db.tt/xqMbeYP1</a></p>