在应用程序中拖放文件夹内容(和子目录)

发布于 2024-10-20 13:54:52 字数 95 浏览 5 评论 0原文

如何将包含音乐和其他音乐目录的文件夹拖放到网络应用程序(在本例中为rails,但我认为解决方案必须是通用的)以获取所有歌曲的路径,以便我可以拥有在线音乐本地内容播放器。谢谢 。

how can a drag and drop a folder with music and other directories of music to a web-app ( in this case rails but i think the solution must be general ) to get the paths of all the songs so that i can have an online music player for local content . Thanks .

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

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

发布评论

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

评论(1

心清如水 2024-10-27 13:54:52

重点关注可用性标签:我认为最常见的是从网络应用程序中“选择文件”,而不是“拖放到”网络应用程序中。

在实现拖放功能时,我认为 JavaScript 是比 ruby​​ 更重要的关键字。毕竟这个功能必须在客户端实现。

你应该看看这个问题:
HTML5 拖放上传

With focus on the usability tag: I think its most common to "select files" from the web app rather than "drag and drop" into the web app.

When it comes to implementing the drag and drop feature, I think that JavaScript is a more important keyword than ruby. This feature must be implemented client side after all.

You should take a look at this question:
HTML5 drag-drop uploads

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