added media buttons and autoplay function