Support » Plugin: Super Progressive Web Apps » SSL + Safari service worker conflict for Videos

  • Resolved lijitimit

    (@lijitimit)


    There’s a strange bug you may be interested in investigating. When loading a site with SSL in Safari (desktop and mobile), video media (WP default embed) shows “can’t find file”. After some investigation, I found it to be related to ANY service worker present + Safari + SSL. Apple likes to do things their own way and are known to HATE PWAs (they don’t get 30% of the app purchase…)

    Video will load fine on http. I’m REALLY SAD I have to deactivate Super PWA for now until this gets sorted, as it is a very beneficial plugin. Hopefully a fix will come soon… not sure if you guys have any ideas on this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jose Varghese 🚀

    (@josevarghese)

    We’re already aware about this. As you mentioned, this is not specific to our plugin as the embed video’s are not working upon any Service Worker’s over iOS devices. I hope this bug will be fixed by Safari developers upon their future releases.

    Thanks Jose, I’ll keep an eye out for that update. I had a thought. Is there any way to detect the browser and deactivate the service worker when on safari, perhaps by user agent? stack overflow This is a version of the detect code.

    isSafari = !!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/)

    Perhaps Use this in conjunction with a conditional deregister / dequeue?

    Plugin Author Jose Varghese 🚀

    (@josevarghese)

    The option which you suggested won’t be practical at this time because if we disable the service worker registration upon Safari browser via any custom code then their is no point to say website is a PWA over iOS. To be more clear Service Worker is the heart of the PWA.

    Moreover a lot of users come to us if the PWA won’t work upon their iOS devices if we restrict the Service Worker registration.

    Ok, I understand and agree with your assessment. I might recommend adding this to your FAQ under your iOS section so that users are aware that default wordpress videos are unsupported.

    Thanks for the quick replies, and I wish your team the best. I can’t wait until apple fixes this so I can start using this plugin again.

    Plugin Author Jose Varghese 🚀

    (@josevarghese)

    Sure. We’re planning a FAQ page upon our website soon, I will surely add this suggestion into the same.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘SSL + Safari service worker conflict for Videos’ is closed to new replies.