Troubleshooting
Service worker is not detected
If you are using Fanplayr's sw-load.js
script, you must ensure that this is included on your webpage before Fanplayr's tracking code.
Cannot upload service worker JavaScript file to root
If you are unable to upload the service worker JavaScript file to the root of your server then you may be able to proceed if you can upload it elsewhere with specific headers.
Ensure your server is delivering the service worker file with the following headers:
Content-Type: text/javascript
Service-Worker-Allowed: /
If you are manually registering the service worker (not using our
sw-load.js
script) then you will need to update your code to force the worker to be loaded at the root scope. For example:
Last updated