Also, switch out HTMLVideoElement to constructor reference in tests