Conflicts:
	dist/plyr.js
	src/js/plyr.js
This commit is contained in:
Sam Potts 2015-03-10 23:57:36 +11:00
commit b677c3d7ad
2 changed files with 5 additions and 5 deletions

2
dist/plyr.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
// ==========================================================================
// Plyr
// plyr.js v1.0.25
// https://github.com/sampotts/plyr
// https://github.com/selz/plyr
// License: The MIT License (MIT)
// ==========================================================================
// Credits: http://paypal.github.io/accessible-html5-video-player/
@ -650,7 +650,7 @@
player.media.removeAttribute("controls");
// Set media type
player.type = (player.media.tagName == "VIDEO" ? "video" : "audio");
player.type = player.media.tagName.toLowerCase();
// Add type class
_toggleClass(player.container, config.classes[player.type], true);
@ -1366,7 +1366,7 @@
// Disabled for <video> for iPhone
// Since it doesn't allow customisation
if (element.querySelectorAll("audio, video")[0].tagName === "VIDEO"
if (element.querySelectorAll("audio, video")[0].tagName.toLowerCase() === "video"
&& /iPhone/i.test(navigator.userAgent)) {
continue;
}
@ -1382,4 +1382,4 @@
return players;
}
}(this.plyr = this.plyr || {}));
}(this.plyr = this.plyr || {}));