fixing custom media player