点击 Flutter 上的按钮时播放视频
我有一个来自我的资产的视频,我希望在我的 Android Flutter 应用程序上单击按钮时播放该视频,但没有暂停、播放等正常操作。我将在视频上添加一个“跳过”按钮,该按钮将导航到另一个页面,这一切可能吗?
I have a video from my assets I want to be played when a button is clicked on my Android Flutter app, but without having the normal actions like pause, play...etc. And I will add a "skip" button on the video that will navigate to another page, is that all possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您可以在后台播放视频并在其上添加跳过按钮。
https://www.youtube.com/watch?v=35caowA4EMc
Yes You can play video in Background and add skip button on it.
https://www.youtube.com/watch?v=35caowA4EMc