Fixed bug that failed to handle resting mediaplayer when invalid url attempted