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

大佬 把控制器暴露出来啊 #47

Closed
taozhipeng1990 opened this issue Jun 19, 2020 · 2 comments
Closed

大佬 把控制器暴露出来啊 #47

taozhipeng1990 opened this issue Jun 19, 2020 · 2 comments

Comments

@taozhipeng1990
Copy link

taozhipeng1990 commented Jun 19, 2020

image


  @override
  AwsomeVideoPlayerState createState() => AwsomeVideoPlayerState();
}

class AwsomeVideoPlayerState extends State<AwsomeVideoPlayer>
    with SingleTickerProviderStateMixin {
  /// 控制器 - 快进 seekTo 暂停 pause 播放 play 摧毁 dispose
  VideoPlayerController controller;

有些操作要在其他地方做。不暴露出控制器 怎么搞

@taozhipeng1990
Copy link
Author

oninit 有中传递......

@chudongvip
Copy link
Owner

2.0 将会暴露,只是最近太忙,没时间更新,晚点我更新你可以关注一下哈

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

2 participants