1
0
mirror of https://github.com/videojs/video.js.git synced 2025-04-11 11:42:08 +02:00

Enough to check for this.tech != null

This commit is contained in:
Stephan Hesse 2014-03-13 00:46:00 +01:00
parent cbefd37acf
commit 26f6f4b0ea

View File

@ -1275,7 +1275,7 @@ vjs.Player.prototype.userActive = function(bool){
// When this gets resolved in ALL browsers it can be removed
// https://code.google.com/p/chromium/issues/detail?id=103041
if(typeof(this.tech) != 'undefined') {
if(this.tech) {
this.tech.one('mousemove', function(e){
e.stopPropagation();
e.preventDefault();