title: Ensure video buffer is preserved after orientation changes without handling onConfiguration changes manually
body: <p>Is there anyway that you can make the application keeps the buffer after orientation without manually handling the configuration changes.</p>
  
  <p>The scenario basically:</p>
  
  <ol>
  <li><p>Video buffer up until the latest point should be preserved when the orientation changes.</p></li>
  <li><p>Need to reload a new layout (because portait and lanscape has different layout), 
  Therefore letting the app restart the activity to reload new resources is the best way I think.</p></li>
  <li><p>The video component is in a fragment.</p></li>
  </ol>
  
  <p>Alternatives that I tried but are not acceptable:</p>
  
  <ol>
  <li><p>The first work around is to save the position of the video and after the view has been created, use seekTo to go to the last point. However, this will cause the device to re-buffer again.</p></li>
  <li><p>I'd tried playing around with fragment setRetainInstance(true) and ensure the media player is not reinitialize after orientation changes. After each onCreateView, I just set the mediaplayer.setDisplay() to a new surfaceholder. Unfortunately this cause the media player to go into error state which in turn requires the media player to be reseted. </p></li>
  </ol>
  
  <p>Any suggestion / workaround for this?</p>
  
  <p>Edited: I saw somewhere in stackoverflow that you can change the mediaplayer surface holder while the mediaplayer is active in android 4.0+. However, I am developing an app for android 3.x.</p>