ended

Gets information about whether the playback has ended or not.

MDN Reference