Рет қаралды 3,794
Ever wanted to track whether or not a user is still looking at your web page and not another tab in their browse?
The HTML5 Page Visibility API is how we can do this.
Code GIST: gist.github.co...
typeof video: • JavaScript typeof Oper...