Implementing media player