Skip to content

Commit f00ba69

Browse files
committed
Fixed jplayer#269 - IE8 Array.indexOf bug in Aurora formats check.
1 parent 93ec095 commit f00ba69

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/javascript/jplayer/jquery.jplayer.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
* http://opensource.org/licenses/MIT
88
*
99
* Author: Mark J Panaghiston
10-
* Version: 2.9.0
11-
* Date: 27th November 2014
10+
* Version: 2.9.1
11+
* Date: 9th December 2014
1212
*/
1313

1414
/* Support for Zepto 1.0 compiled with optional data module.
@@ -485,7 +485,7 @@
485485
$.jPlayer.prototype = {
486486
count: 0, // Static Variable: Change it via prototype.
487487
version: { // Static Object
488-
script: "2.9.0",
488+
script: "2.9.1",
489489
needFlash: "2.9.0",
490490
flash: "unknown"
491491
},
@@ -1025,7 +1025,7 @@
10251025
this.flash.canPlay = {};
10261026
$.each(this.formats, function(priority, format) {
10271027
self.html.canPlay[format] = self.html[self.format[format].media].available && "" !== self.htmlElement[self.format[format].media].canPlayType(self.format[format].codec);
1028-
self.aurora.canPlay[format] = (self.aurora.formats.indexOf(format) > -1);
1028+
self.aurora.canPlay[format] = ($.inArray(format, self.aurora.formats) > -1);
10291029
self.flash.canPlay[format] = self.format[format].flashCanPlay && self.flash.available;
10301030
});
10311031
this.html.desired = false;

0 commit comments

Comments
 (0)