FIX: apply video preview workaround to iOS

Followup to 9e160f5
This commit is contained in:
Penar Musaraj 2020-07-15 19:29:43 -04:00
parent 9c3f89c17e
commit a04573c28e
No known key found for this signature in database
GPG Key ID: E390435D881FF0F7

View File

@ -40,7 +40,7 @@ export default {
);
const caps = container.lookup("capabilities:main");
if (caps.isSafari) {
if (caps.isSafari || caps.isIOS) {
api.decorateCookedElement(
elem => {
const video = elem.querySelector("video");