reworked media player for greater consistency