How to embed YouTube videos as an audio player

I tried this tutorial to embed YouTube videos as an audio player. But your demo does not work on that site. I tried it on Android and Ubuntu Chrome. Any solution available?