Takes code and implements a media player