Use the MediaNotification extension by Ulli.
You will also need to use these blocks so that the Android interface can communicate with your web player's JavaScript.
This app does it: