如何在网页中播放.swf的Flash播放器中的控件? [英] How can I have controls in flash players used to play .swf in webpage?

查看:177
本文介绍了如何在网页中播放.swf的Flash播放器中的控件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何添加 play pause stop 全屏按钮,音量栏和进度条在嵌入标签中?我实际上想在我的网页上播放一个'。swf'文件,但是它所带来的是没有任何控制。



如果JavaScript或jQuery有方法,请让我知道他们。

pluginobject 但我想要应用一个皮肤。任何人都可以参考这样的事情吗?

所以,我想让你们中的一些人帮我解决我的问题。 >解决方案

您需要添加 FLVPlayback 添加到源flv。当你重新发布闪光灯时,它将有播放控制。



或者你可以使用 stop()

您可以在这里找到示例 http://jquery.thewikies.com/swfobject/examples


How can I add play, pause, stop, full-screen buttons, volume bar and progress bar in embed tag? I actually wanted to play a '.swf' file in my web page but all it comes is with out any controls.

If there are way with JavaScript or jQuery then please let me know about them.

I have tried using the pluginobject but I want to apply a skin to it. Can anyone reference to anykind of such things?

So, I want some of you to help me solve my problem.

解决方案

You will need to add something like the FLVPlayback added to the source flv. When you republish the flash it will have playback controls on.

Or you could program your own control in using stop() and start() etc.

If you wanted to use a jQuery approach you can use jQuery SWFObject. This will embed the swf and give you a options to control some aspects of the swf. Although additional changes to the source maybe required.

You can find examples here http://jquery.thewikies.com/swfobject/examples

这篇关于如何在网页中播放.swf的Flash播放器中的控件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆