Vimeo iOS fix

This commit is contained in:
Sam Potts
2016-01-15 15:11:02 +11:00
parent 70b4b14984
commit 90608e9e1a
2 changed files with 10 additions and 3 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+9 -2
View File
@@ -1124,8 +1124,15 @@
'allowfullscreen': '',
'frameborder': 0
});
container.appendChild(iframe);
plyr.media.appendChild(container);
// If full support, we can use custom controls, if not, use Vimeo
if(plyr.supported.full) {
container.appendChild(iframe);
plyr.media.appendChild(container);
}
else {
plyr.media.appendChild(iframe);
}
// Load the API
if (!('$f' in window)) {