Android YouTube API - Handling Orientation Change with No Buffering

view story

http://stackoverflow.com – I am using YouTube API to show a video in portrait mode. Upon playing the video and turning the device into landscape mode, the video continues from the spot left off but re-buffers. I am looking for a solution as to how avoid the re-buffering. I know for a fact its possible since Google provides an example here, and it works flawlessly except I can't seem to make it work with my application. I am unsure as to which functions to override and which ones actually remove the re-buffering. (HowTos)