Vimeo iOS fix
This commit is contained in:
2
dist/plyr.js
vendored
2
dist/plyr.js
vendored
File diff suppressed because one or more lines are too long
@ -1124,8 +1124,15 @@
|
|||||||
'allowfullscreen': '',
|
'allowfullscreen': '',
|
||||||
'frameborder': 0
|
'frameborder': 0
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// If full support, we can use custom controls, if not, use Vimeo
|
||||||
|
if(plyr.supported.full) {
|
||||||
container.appendChild(iframe);
|
container.appendChild(iframe);
|
||||||
plyr.media.appendChild(container);
|
plyr.media.appendChild(container);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
plyr.media.appendChild(iframe);
|
||||||
|
}
|
||||||
|
|
||||||
// Load the API
|
// Load the API
|
||||||
if (!('$f' in window)) {
|
if (!('$f' in window)) {
|
||||||
|
Reference in New Issue
Block a user