简体   繁体   English

您如何用一个FLV信号同步多个Flash视频播放器而没有不同的时间范围?

[英]How do you signal sync multiple flash video players with one FLV without having different timeframes?

I'm trying to create a simulation of a product. 我正在尝试创建产品的模拟。 Currently I'm using flash CS4 to build the simulator. 目前,我正在使用Flash CS4来构建模拟器。

I have two main monitor screens (default flash players) 我有两个主监视器屏幕(默认Flash播放器)

then I have five little video monitors on the bottoms that are playing as if they are a live streaming feed. 然后我在底部播放了五个小视频监视器,好像它们是实时流Feed。

The videos are local .FLV files stored in the same file as the swf. 视频是本地.FLV文件,与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. 我想要完成的是在启动.swf时让五个视频播放器开始播放,然后当我按一个按钮选择要播放的五个小视频之一时,它将在两个较大的主要视频播放器上显示。 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? 还是不使用.flv文件名,而是必须运行流服务器并告诉播放器播放IP?

If anyone can point me to the right direction that would be great. 如果有人能指出我正确的方向,那就太好了。

thanks, joey 谢谢乔伊

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM