supabase-flutter
supabase-flutter copied to clipboard
iOS Video Playback Fails with Supabase Storage URL (`CoreMediaErrorDomain -12939`)
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
- Upload a video to Supabase Storage.
- Retrieve the video URL and try playing it in Flutter using the
video_playerpackage (or other video player packages). - 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]
Hi, I've moved this issue over from the supabase repo as it seems related to supabase-flutter.
Any update about this issues ?