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

PlayingAudio duration has a wrong value in flutter-web #507

Closed
asjqkkkk opened this issue Mar 29, 2021 · 1 comment
Closed

PlayingAudio duration has a wrong value in flutter-web #507

asjqkkkk opened this issue Mar 29, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@asjqkkkk
Copy link
Contributor

Flutter Version

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.3, on Mac OS X 10.15.7 19H2 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
[!] Xcode - develop for iOS and macOS
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] Connected device (4 available)

Lib Version

  assets_audio_player: ^3.0.3

Platform (Android / iOS / web) + version

Macos & Flutter Web(chrome)

Debug in macos

image

Debug in web

image

I used Audio.network for http://music.163.com/song/media/outer/url?id=1483391358

@asjqkkkk asjqkkkk added the bug Something isn't working label Mar 29, 2021
@phlebotinum
Copy link

Just found the same problem.

kalismeras61 added a commit that referenced this issue May 3, 2021
fix #507 (The logic of calculating duration for the web platform is wrong)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants