Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cached videos do not play on safari #135

Open
adamhughes86 opened this issue Jan 24, 2019 · 0 comments
Open

Cached videos do not play on safari #135

adamhughes86 opened this issue Jan 24, 2019 · 0 comments

Comments

@adamhughes86
Copy link

Expected Behavior

I expect the video to be accessible and played on safari

Current Behavior

When a video is played from the cache on safari it will not play. The first time you visit the site (video not cached) it will play fine

Possible Solution

It's possible that safari can't read the videos as it doesn't understand the response from the service worker. This article seems to go into more detail:

https://philna.sh/blog/2018/10/23/service-workers-beware-safaris-range-request/

I think UpUP may be able to change the range manually so that the videos will work

Steps to Reproduce (for bugs)

  1. Create a site with a service worker
  2. Add a video to the site and add the video to the cached assets
  3. Visit the website from Safari
  4. Test video (should work)
  5. Access the website again from offline
  6. Test video (won't work)

Context

Trying to cache videos for offline view but none will play on safari

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant