hls: dispatch playback state from flash to js, avoiding unecessary polling