fix https://github.com/mangui/HLSprovider/issues/7
set player state to IDLE after sending the MEDIA COMPLETED event