quran / audio.quran.com

quranicaudio.com
http://quranicaudio.com
MIT License
125 stars 49 forks source link

Implement the Chrome Media Session API #93

Closed mmmoussa closed 7 years ago

mmmoussa commented 7 years ago

Earlier this year the Media Session API was added to Chrome for Android. It allows developers to set metadata about the audio/video content they are playing, which gets displayed in the media controls on their phone and wearable devices. It also allows custom handling of media controls.

The API is discussed here along with examples of what proper implementation looks like.

Currently, the media control notification that appears when playing audio from the website looks as shown below. It doesn't indicate the surah being played or the full reciter name and only gives the play/pause control. These issues can be addressed for Android users by implementing the Media Session API. 22833688_1381742521924562_933655476_o

mmmoussa commented 7 years ago

I've started working on this enhancement