Demo of the work done in this post : Create your own videoPlayer - part two.