Skip to content

[BUG] 部分手机在拍摄视频后预览时会预览失败 #316

Description

@mercurydaihui

Describe the bug
部分华为手机(我的是nova 7)在拍摄视频后进入预览时会预览失败
How to reproduce
需要特定的手机才可以,但是我发现这应该是video_player库的问题,可以通过初始VideoPlayerController时传入viewtype为VideoViewType.platformView解决,如以下:
late final videoController = VideoPlayerController.file(previewFile,viewType: VideoViewType.platformView);
作者能开放出来videoController设置接口吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    await investigateThe issue is waiting for further investigation.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions