version 2.6.7:
Fixed a bug for the YTPEnd event that was not fired