<冰 :输出媒体>

发布于 2024-08-20 03:48:29 字数 288 浏览 5 评论 0原文

<ice:outputMedia player="flash" source="... /ICEfaces_Flash.swf"
                style="width:300px;height:250px;">
<f:param name="play" value="true"/>
<f:param name="menu" value="true"/>
</ice:outputMedia>

上面的代码播放 Flash 文件,但不显示控件!

<ice:outputMedia player="flash" source="... /ICEfaces_Flash.swf"
                style="width:300px;height:250px;">
<f:param name="play" value="true"/>
<f:param name="menu" value="true"/>
</ice:outputMedia>

Above Code plays the flash file but doesnt show the controls !

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

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

发布评论

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

评论(2

梦旅人picnic 2024-08-27 03:48:29

对于 Flash,您只能通过上下文菜单访问控件。

For Flash you get access to the controls via the context menu only.

命硬 2024-08-27 03:48:29

是的,上下文菜单(又名右键单击菜单)将具有播放、暂停按钮。

使用普通的 html 页面就可以解决问题,但它似乎不适用于像 u 这样的icefaces(当使用 f:param 时)做过。
实际上 icefaces 文档 说应该这样做。也许这是一个错误,所以我建议在 icefaces 论坛 上添加一个帖子。

Yes, the context menu (aka right-click menu) will have the play, pause button.

<param name="menu" value="true"> with a normal html page will do the trick, but it seems not to be working with icefaces (when using f:param) like u did.
Actually the icefaces docs says it should be done this way. Maybe it's a bug so i would recommend to add a thread on the icefaces forum.

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