fix this.tech is undefined

Fix this.tech is undefined error when using a newer version of video.js