Files
airsonic-custom/airsonic-main
François-Xavier Thomas 2e0134259d Try to show a progress bar in the media player
This commit is kind of a hack to force MediaElement.js to show a
progress bar when we are loading a song.

Normally, in vanilla HTML5 MediaElement, we'd explicitely call 'play()'
when loading a song. Here, we cannot ensure playback will work well if
we don't wait for the 'canplay' event to be fired, but the progress bar
won't show up without 'play()'...

This commit emits a fake 'waiting' event to let the MEJS know that it
should update the UI.
2019-07-02 22:23:01 +02:00
..
2019-06-26 11:23:49 -06:00
2019-07-02 01:02:49 -06:00