OSMF Player 在部署到 Apache Tomcat 服务器上时停止工作

发布于 2024-10-09 17:27:43 字数 215 浏览 1 评论 0原文

我下载了 OSMF 示例播放器并打开 osmf.html,(C:\player\osmf.html)它运行良好,没有任何问题。

当我部署到 tomcat 服务器上时,(http://localhost:8080/player/osmf.html)相同的文件在调试时出现错误“当前不支持指定的功能”。

我怀疑闪存存在安全问题。想不出其他什么了。

任何帮助表示赞赏。谢谢。

I downloaded OSMF Sample player and opened osmf.html, (C:\player\osmf.html)it worked perfectly without any problem.

The same file when I deployed onto tomcat server,(http://localhost:8080/player/osmf.html) I get the error "The specified capability is not currently supported" while debugging.

I suspect of a flash security problem. Couldn't think of anything else.

Any help is appreciated. Thanks.

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

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

发布评论

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

评论(2

嘿哥们儿 2024-10-16 17:27:43

您想播放什么类型的内容? OSMF 示例播放器是为 Flash Player 10.1 编译的吗?我怀疑这是一个与版本相关的问题。

您也可以尝试使用 Strobe Media Playback (https://sourceforge.net/adobe/smp) 吗?在下载部分,您可以获得 10.0 和 10.1 的二进制文件。

Strobe Media Playback 也构建在 OSMF 之上,因此它应该有助于解决您的问题。

-安德里安

What kind of content are you trying to play? Is the OSMF Sample player compiled for Flash Player 10.1? I suspect it's a version related issue.

Can you try using the Strobe Media Playback (https://sourceforge.net/adobe/smp) too? In the download section you can get binaries for both 10.0 and 10.1.

Strobe Media Playback is also built on top of OSMF, so it should help in troubleshooting your issue.

-Andrian

枕梦 2024-10-16 17:27:43

我正在使用 DeMonster Debugger 来弄清楚发生了什么。实际上我使用的是 ReOps 的 OSMF 播放器。这是我从文件系统启动时工作的,但部署到 tomcat 服务器时不工作的。原因是他们编写了代码来查看是否允许访问来自特定域的视频。对于文件,它始终返回 true。但对于域 localhost:8080,它返回 false。

禁用该安全检查后,它可以正常工作。

感谢安德里安的回答。

I was using DeMonster Debugger to figure out what was going on. Actually I was using ReOps' OSMF player. That was the one working when I launched from Filesystem, not working when deployed on to tomcat server. The reason is that they have written to code to see if it is allowed to access a video from a particular domain. For file, it was returning true all the time. But for the domain localhost:8080, it was returning false.

After disabling that security check, it worked normally.

Thanks Andrian for your answer.

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