mirror of
https://github.com/videojs/video.js.git
synced 2024-12-25 02:42:10 +02:00
Comments
This commit is contained in:
parent
d76fa8abfe
commit
fc723527ea
3
video.js
3
video.js
@ -106,7 +106,8 @@ var VideoJS = Class.extend({
|
||||
this.controls.addEventListener("mouseout", this.onVideoMouseOut.context(this), false);
|
||||
|
||||
// Create listener for esc key while in full screen mode
|
||||
// Creating it here to add context
|
||||
// Creating it during initialization to add context
|
||||
// and because it has to be removed with removeEventListener
|
||||
this.escKeyListener = function(event){
|
||||
if (event.keyCode == 27) {
|
||||
this.fullscreenOff();
|
||||
|
Loading…
Reference in New Issue
Block a user