Skip to content

Commit

Permalink
Fixed jplayer#269 - IE8 Array.indexOf bug in Aurora formats check.
Browse files Browse the repository at this point in the history
  • Loading branch information
thepag committed Dec 9, 2014
1 parent 93ec095 commit f00ba69
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/javascript/jplayer/jquery.jplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* http://opensource.org/licenses/MIT
*
* Author: Mark J Panaghiston
* Version: 2.9.0
* Date: 27th November 2014
* Version: 2.9.1
* Date: 9th December 2014
*/

/* Support for Zepto 1.0 compiled with optional data module.
Expand Down Expand Up @@ -485,7 +485,7 @@
$.jPlayer.prototype = {
count: 0, // Static Variable: Change it via prototype.
version: { // Static Object
script: "2.9.0",
script: "2.9.1",
needFlash: "2.9.0",
flash: "unknown"
},
Expand Down Expand Up @@ -1025,7 +1025,7 @@
this.flash.canPlay = {};
$.each(this.formats, function(priority, format) {
self.html.canPlay[format] = self.html[self.format[format].media].available && "" !== self.htmlElement[self.format[format].media].canPlayType(self.format[format].codec);
self.aurora.canPlay[format] = (self.aurora.formats.indexOf(format) > -1);
self.aurora.canPlay[format] = ($.inArray(format, self.aurora.formats) > -1);
self.flash.canPlay[format] = self.format[format].flashCanPlay && self.flash.available;
});
this.html.desired = false;
Expand Down

0 comments on commit f00ba69

Please sign in to comment.