plupload,直接在实例上打开对话框

发布于 2025-01-03 19:11:53 字数 281 浏览 3 评论 0原文

我有一个页面可以在网站上上传一些文件。此页面中是 plupload 的一个实例。

state on open

我的愿望是,当实例化 plupload 时,文件浏览器对话框会自动打开,就像单击“添加文件”但没有执行此操作。

编辑:plupload 实例位于闪存中,因此我寻找调用闪存中函数的可能性,以便在我的计算机中打开文件浏览器。

我无法找到解决方案。

感谢您的帮助

I have a page in order to upload some file on a website. In this page is an instance of plupload.

state on open

My wish is that when plupload is instanced, the filebrowser dialog automatically open, like a click on Add files but without doing this click.

Edit: the plupload instance is in flash, so i search for a possibilty to call a function in flash in order to open the filebrowser in my computer.

I'm not able to find a solution.

Thanks for your help

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

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

发布评论

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

评论(1

过期以后 2025-01-10 19:11:53

“添加文件”按钮是一个 Flash 按钮。因此,如果不唤醒该文件,您就无法简单地自动触发它。 Plupload 是开源的,所以我猜源文件是可用的。您必须找到单击时执行的函数,并将其设置为加载时执行。

That "add files" button is a flash button. So, you cant trigger it automatically simply, without tewaking that file. Plupload is open source, so i guess the source file is available. You have to find the function which gets executed on click, and set that to execute on load.

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