Added "ended" method

videojs' ended method just passes it on to the tech and raises an error if its not defined