fix: don't end on pause
fix: don't end on pause

Sometimes the 'ended' event get's fired when the player is just being
paused. Having the ended event fired before actual ending puts the
player in an invalid state. Playback can't be resumed afterwards.

As a side effect, the loaded event will now be triggered every time the
buffer get's recreated.

itslanguage/itslanguage-js,itslanguage/itslanguage-js