Flash AS3中多个视频文件的同步播放
我想要一个控制器来同步和控制多个视频对象(同时开始/停止)。这可能吗?
I would like to have one controller to sync and control multiple video objects(start/stop simultaneously). Is this possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想我明白你的问题。如果我这样做,答案是肯定的。
您可以让一个类充当多个视频(FLVPlaybacks、JW Player、FlowPlayer)的控制器...
本质上,您将使用 1 个控制器来代理您将进行的任何调用,以便将单个视频发送到所有视频。所以你会得到类似下面的东西:
或者甚至
I think I understand your question. If I do, the answer is yes.
You can have one class as act as the controller for several videos (FLVPlaybacks, JW Player, FlowPlayer)...
Essentially you would use your 1 controller to proxy any calls you would make so a single video to all of your videos. So you would have something like the following:
or even