Skip to content

[BUG] Load video file if flac audio in mp4 #10

@narumi147

Description

@narumi147

After update to flutter 3.10 No related to flutter 3.10
video player always failed to load video file.
VideoPlayerController.initialize didn't throw the error, the win plugin only printed

[video_player_win] load fail, reload now
[log] [video_player_win] playback event: error

Since the error is not thrown, the app will treat it as initiated and playing(though it is errored). when calling pause. it will throw

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): video file not opened yet
#0      WinVideoPlayerController.pause         video_player_win.dart:200
#1      WindowsVideoPlayer.pause               video_player_win_plugin.dart:77
#2      VideoPlayerController._applyPlayPause  video_player.dart:555
#3      VideoPlayerController.pause            video_player.dart:516

Maybe errored before 3.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions