media-kit / media-kit

A cross-platform video player & audio player for Flutter & Dart.
https://github.com/media-kit/media-kit
MIT License
916 stars 132 forks source link

Media-Kit Video won't play video on mobile phone browser #753

Open sapphire008 opened 2 months ago

sapphire008 commented 2 months ago

I am testing video playback of my app using Media-Kit Video player. Although the player works well on Chrome browser on the desktop, when I tried the same app on mobile browser (accessed through my local wifi network), the video does not play. Or sometimes when the video does play, entering full screen crashes the video player. I am also noticing that, my app specifies the seekbar color to be blue, with

MaterialDesktopVideocontrolsTheme(
            seekBarThumbColor: Colors.blue,
            seekBarPositionColor: Colors.blue,  

for both normal and fullscreen control theme. But when I am viewing the app on the phone browser, the seek bar is the default red color.

The demo from https://media-kit.github.io/media-kit/ seems to work well. However, running the minimal example from https://pub.dev/packages/media_kit/example shows the problem I am currently having. I am wondering if there is something I am missing.

abdelaziz-mahdy commented 2 months ago

can you share an example code to reproduce your issue?