Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #117 from alexyida/master
Browse files Browse the repository at this point in the history
Fixes issue #116: Browsers.iOS < 4.2 wouldn't work for non-iOS browsers
  • Loading branch information
NielsLeenheer committed Jan 5, 2012
2 parents 71f295f + f37e461 commit e2b2f66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Expand Up @@ -2368,7 +2368,7 @@ <h3>Development</h3>
This bug was reported and fixed in iOS 4.2
*/

if (Browsers.iOS < 4.2)
if (Browsers.iOS && Browsers.iOS < 4.2)
return this.element.canPlayType(t) == 'probably' || this.element.canPlayType(t) == 'maybe';
else
return this.element.canPlayType(t) == 'probably';
Expand Down Expand Up @@ -2466,7 +2466,7 @@ <h3>Development</h3>
This bug was reported and fixed in iOS 4.2
*/

if (Browsers.iOS < 4.2)
if (Browsers.iOS && Browsers.iOS < 4.2)
return this.element.canPlayType(t) == 'probably' || this.element.canPlayType(t) == 'maybe';
else
return this.element.canPlayType(t) == 'probably';
Expand Down

0 comments on commit e2b2f66

Please sign in to comment.