Skip to content

iOS Video Playback Fails with Supabase Storage URL (CoreMediaErrorDomain -12939) #1125

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

Open
azulmouad opened this issue Jan 29, 2025 · 2 comments
Labels
bug Something isn't working storage This issue or pull request is related to storage

Comments

@azulmouad
Copy link

Bug Report

Issue Summary

I am storing a video in Supabase Storage and retrieving its public URL. The video plays correctly in a web browser, but it does not work on iOS when using video player packages in Flutter. On iOS, I receive the following error:

Unhandled Exception: PlatformException(VideoError, Failed to load video: 
Operation Stopped: The server is not correctly configured.: 
The operation couldn’t be completed. 
(CoreMediaErrorDomain error -12939 - byte range and no content length - error code is 200), null, null)

Steps to Reproduce

  1. Upload a video to Supabase Storage.
  2. Retrieve the video URL and try playing it in Flutter using the video_player package (or other video player packages).
  3. The video works in a web browser but fails to play on iOS.

Expected Behavior

The video should play correctly on iOS devices, just as it does on web browsers.

Additional Context

  • Flutter version: 3.27.1 • channel stable
  • Supabase Flutter SDK version: supabase_flutter: ^2.8.3
  • iOS Version: platform :ios, '13.0'
  • Video player package used: [e.g., video_player, better_player]
@azulmouad azulmouad added the bug Something isn't working label Jan 29, 2025
@w3b6x9 w3b6x9 transferred this issue from supabase/supabase Mar 5, 2025
@Hallidayo
Copy link

Hi, I've moved this issue over from the supabase repo as it seems related to supabase-flutter.

@dshukertjr dshukertjr added the storage This issue or pull request is related to storage label Mar 18, 2025
@azulmouad
Copy link
Author

Any update about this issues ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working storage This issue or pull request is related to storage
Projects
None yet
Development

No branches or pull requests

3 participants