如何在不具有不同时间范围的情况下用一个 FLV 信号同步多个 Flash 视频播放器?

发布于 2024-10-06 18:20:17 字数 611 浏览 3 评论 0原文

我正在尝试创建产品的模拟。目前我正在使用 flash CS4 来构建模拟器。

我有两个主监视器屏幕(默认的 Flash 播放器)

,然后底部有五个小视频监视器,它们正在播放,就好像它们是实时流媒体一样。

这些视频是本地 .FLV 文件,与 swf 存储在同一文件中。

我想要完成的是在 .swf 启动时让五个视频播放器开始播放,然后当我按下按钮选择要播放的五个小视频中的哪一个时,它会将其显示在主要的两个较大的视频播放器上。唯一的事情是我想确保当我单击带有小视频的按钮时,主显示视频会播放小视频窗口时间线的拾取。换句话说,我希望小窗口自动播放视频,当我单击大窗口播放器按钮激活并选择正在播放的小窗口视频之一时,它已经同步。

这就是线框的样子,:


--------- ---------- | | | | | | | | ------- -----------

--- --- --- --- --- | | | | | | | | | | --- --- --- --- ---


或者不是使用 .flv 文件名,我是否必须运行流媒体服务器并告诉播放器播放 IP?

如果有人能指出我正确的方向,那就太好了。

谢谢, 乔伊

I'm trying to create a simulation of a product. Currently I'm using flash CS4 to build the simulator.

I have two main monitor screens (default flash players)

then I have five little video monitors on the bottoms that are playing as if they are a live streaming feed.

The videos are local .FLV files stored in the same file as the swf.

What I want to accomplish is have the five video players start to play when the .swf is started, then when I press a button to select which one of the five little videos I want to play it displays it on the main two bigger video players. The only thing is I want to make sure that when I click on the button with the little video, the main display video plays the pick up of the timeline of the little video window. In other words I want the little window playing the video automatically, when I click on the button for the big window player to active and pick one of the little window videos that is play it be synced already.

This is what the wireframe looks like, the :


--------- ----------
| | | |
| | | |
--------- -----------

--- --- --- --- ---
| | | | | | | | | |
--- --- --- --- ---


Or instead of using .flv file name, do I have to run a streaming server and tell the player to play the IP?

If anyone can point me to the right direction that would be great.

thanks,
joey

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一身仙ぐ女味 2024-10-13 18:20:17

答案是肯定的:您将需要一个 Flash Media Server,因为 a) 您不能一次在所有这些显示器上运行同一个 Flash 应用程序,因此您无法在应用程序内同步,并且 b) 根本没有办法在多个播放器实例之间进行同步 - 除非您将所有客户端连接到同一个播放器实例Flash Media Server实例,打开相同的NetStream,并通过监听主客户端发送的某种同步事件来触发播放。

The answer is yes: You will need a Flash Media Server, since a) you can't run the same Flash app on all of those monitors at once, so you can't sync within the app, and b) there is simply no way to synchronize across more than one player instance - except if you connect all the clients to the same Flash Media Server instance, open the same NetStream, and triggering playback by listening to some sort of synchronization event sent by the master client.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文