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

the video player has sound but no image on ios device #48

Closed
Dawish opened this issue Aug 31, 2018 · 14 comments
Closed

the video player has sound but no image on ios device #48

Dawish opened this issue Aug 31, 2018 · 14 comments

Comments

@Dawish
Copy link

Dawish commented Aug 31, 2018

ios the video player has sound but no image

@bostrot
Copy link
Contributor

bostrot commented Aug 31, 2018

Add some code, flutter doctor etc. otherwise people can't help you. Also which device you are using.

@SteveAlexander
Copy link

I'm seeing the same problem. Latest flutter master channel.

I can hear the sound, and the controls appear and work. But there is no video showing.

This is on an iPhone X simulator. I'll try some other devices.

image

Sample code:

  Widget build(BuildContext context) {
    return Container(
      child: Center(
        child: Chewie(
          VideoPlayerController.network(
            'https://www.sample-videos.com/video/mp4/240/big_buck_bunny_240p_10mb.mp4'
          ),
          aspectRatio: 3 / 2,
          autoPlay: true,
          looping: true,
        )
      )
    );
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.7.6-pre.20, on Mac OS X 10.13.6 17G2208, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.1)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
[✓] Android Studio (version 3.1)
[✓] VS Code (version 1.26.1)
[✓] Connected devices (1 available)

• No issues found!

@Sub6Resources
Copy link
Collaborator

That's a known issue with the video_player plugin (flutter/flutter#14647). It should work fine on normal devices as opposed to the simulator though.

@cbenhagen
Copy link
Collaborator

Please reopen with more info if this happens on a real device.

@Abgaryan
Copy link

Abgaryan commented Sep 17, 2018

@cbenhagen it happens also in real ios devices (iPhone 5,iPhone 6s)

@cbenhagen
Copy link
Collaborator

Can you please provide the output of flutter doctor -v and a small example app where you see this behaviour?

@cbenhagen
Copy link
Collaborator

Also it would be good to know if it works if you only use the latest video_player plugin without chewie.

@Abgaryan
Copy link

@cbenhagen
The Player code

 Container(
          child: Chewie(
            new VideoPlayerController.network(
                "https://static.driveddy.com//theory/1.1.02-049.mp4"
            ),
            aspectRatio: 3 / 2,
            autoPlay: true,
            looping: true,
          ),
      ), 
[✓] Flutter (Channel beta, v0.7.3, on Mac OS X 10.13.6 17G65, locale en-DE)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
[✓] Android Studio (version 3.1)
[✓] VS Code (version 1.27.1)
[✓] Connected devices (1 available)

@cristobal85
Copy link

Can you test with the video_player v0.6.4?? I had problems #52 but with this version it's fine.

@RIddhiIroid
Copy link

@cristobal85 Thank you so much, this version works perfect.

@rodrigonepomuceno
Copy link

Any solution for this case? I have the same problem for a few days now and I can't solve it. Has anyone managed to end this problem?

@markdean21
Copy link

We encounter this error today? We are using chewie: 0.9.8
video_player: ^0.10.3+1
Any recommendations from you guys? Any solution?
Thank you.

@Maus3rSR
Copy link

Maus3rSR commented Jun 7, 2020

@markdean21
Maybe its related to video_player and not chewie
flutter/plugins#1307

Im facing this issue only on iOs devices, and without chewie Im facing same issue.

I'm really stupefied why a bug like this on a video player plugin still exist..

@Colir
Copy link

Colir commented Sep 15, 2020

@Maus3rSR I can confirm that this bug is related to video_player flutter/flutter#56431 (comment)

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