视频控制中隐藏式字幕的 ActionScript 提示点?

发布于 2024-09-17 17:16:47 字数 237 浏览 1 评论 0原文

我正在使用 Flash Builder 创建一个需要支持隐藏式字幕的 AS3 视频播放器。但是,我没有使用 FLVPlayback 组件。有没有办法做类似 addASCuePoint() to flash.media.Video; 的事情,或者我唯一的选择是使用 Flash 的计时器来进行自己的检查?

我想一定有一个库可以处理这个问题,但我在任何地方都找不到。

此外,该解决方案必须与 Flash Player 9 配合使用。

I am using using Flash Builder to create an AS3 video player which needs to support Closed Captioning. However, I am not using the FLVPlayback component. Is there a way of doing something like addASCuePoint() to flash.media.Video;, or is my only option using Flash's Timer to do my own check?

I would imagine there must be lib out there that handles this but i can't find one anywhere.

Also, the solution must work with flash player 9.

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

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

发布评论

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

评论(2

清醇 2024-09-24 17:16:47

您可以创建一个简单的提示管理器类来保存提示点并观察视频位置。

观察每一帧的NetStream.time值并找到当前的提示点。

您可以让它在到达新的提示点时调度一个事件,并且您的视图可以更改状态。

You could create a simple cue manager class that holds your cue points and observes the video position.

Observe the NetStream.time value every frame and find the current cue point.

You could have it dispatch an event when it reaches a new cue point, and your view could change state.

摇划花蜜的午后 2024-09-24 17:16:47

您可以尝试使用 OSMF 框架

http://osmf.org/

查看 R. Blank 的网站以获取更多信息、代码和amp ;示例

http://www.rblank.com/

You could try the OSMF framework

http://osmf.org/

check R. Blank's site for more info, code & samples

http://www.rblank.com/

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