added third tier legacy and added event listeners for ended and timeupdate