Fixed bug with API use on basic supported browsers

This commit is contained in:
Sam Potts
2015-08-21 21:36:15 +10:00
parent 9133247cdf
commit 6543fc1e5b
9 changed files with 33 additions and 17 deletions

View File

@ -1,6 +1,6 @@
// ==========================================================================
// Plyr
// plyr.js v1.3.4
// plyr.js v1.3.5
// https://github.com/selz/plyr
// License: The MIT License (MIT)
// ==========================================================================
@ -1914,6 +1914,10 @@
if (player.type == 'video' || player.type == 'audio') {
// Bail if no support
if (!player.supported.full) {
// Successful setup
player.init = true;
// Don't inject controls if no full support
return;
}