Skip to content

Commit

Permalink
Fix: Destroy now removes full screen event listeners.
Browse files Browse the repository at this point in the history
  • Loading branch information
thepag committed Apr 1, 2014
1 parent 3c9abf5 commit 49dc5c4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "jPlayer",
"version": "2.5.5",
"version": "2.5.6",
"main": [
"./jquery.jplayer/jquery.jplayer.js",
"./skin/pink.flag/jplayer.pink.flag.css"
Expand Down
2 changes: 1 addition & 1 deletion jplayer.jquery.json
Expand Up @@ -11,7 +11,7 @@
"html5",
"streaming"
],
"version": "2.5.5",
"version": "2.5.6",
"author": {
"name": "Mark J Panaghiston",
"email": "markp@happyworm.com",
Expand Down
8 changes: 4 additions & 4 deletions jquery.jplayer/jquery.jplayer.js
Expand Up @@ -7,8 +7,8 @@
* http://opensource.org/licenses/MIT
*
* Author: Mark J Panaghiston
* Version: 2.5.5
* Date: 8th March 2014
* Version: 2.5.6
* Date: 1st April 2014
*/

/* Code verified using http://www.jshint.com/ */
Expand Down Expand Up @@ -470,7 +470,7 @@
$.jPlayer.prototype = {
count: 0, // Static Variable: Change it via prototype.
version: { // Static Object
script: "2.5.5",
script: "2.5.6",
needFlash: "2.5.2",
flash: "unknown"
},
Expand Down Expand Up @@ -2504,7 +2504,7 @@
_fullscreenRemoveEventListeners: function() {
var fs = $.jPlayer.nativeFeatures.fullscreen;
if(this.internal.fullscreenchangeHandler) {
document.addEventListener(fs.event.fullscreenchange, this.internal.fullscreenchangeHandler, false);
document.removeEventListener(fs.event.fullscreenchange, this.internal.fullscreenchangeHandler, false);
}
},
_fullscreenchange: function() {
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jplayer",
"version": "2.5.5",
"version": "2.5.6",
"description": "The jQuery HTML5 Audio / Video Library",
"homepage": "http://www.jplayer.org/",
"keywords": [
Expand Down

0 comments on commit 49dc5c4

Please sign in to comment.