Play fullscreen at time


The user needs to be able to switch between full screen mode and normal mode. It seems that the function I need is this. However, I need the video to start playing on full screen from the point it stopped playing on normal mode. Just like any video player or youtube. How can I do this?