移动设备中的 JavaFX 媒体播放器

发布于 2024-09-04 11:35:45 字数 332 浏览 3 评论 0原文

有人有在移动设备上的 javafx 应用程序中播放视频的教程吗?

奇怪的是,我的代码只能在桌面执行中工作。但JavaFX的官方网站称它可以在手机上运行。我使用了他们的示例代码,你猜怎么着,它也不能在手机上播放。

这是我使用的示例代码: http://javafx.com/docs/ articles/media/EmbeddedPlayer.fx.jsp

请帮助我。我在这里陷入了死胡同。 =<

Does anyone have any tutorials in playing videos in javafx applications in mobile?

My codes strangely work only in desktop execution. But the official site of JavaFX says it plays in mobile phones. I used their sample code and guess what, it doesn't play on the mobile phone too.

Here is the sample code I used: http://javafx.com/docs/articles/media/EmbeddedPlayer.fx.jsp

Please help me guys. I'm on a dead-end here. =<

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

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

发布评论

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

评论(1

谢绝鈎搭 2024-09-11 11:35:45

我测试在 HTC HD2 上运行它。

手机必须支持视频格式。 (mp4、avi 等...但没有 flv)

I tested running it in HTC HD2.

The video formats must be supported in the phone. (mp4, avi, etc... but no flv)

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