This logic is no longer needed, since YouTube no longer hides the overlay buttons when the video ends