在应用程序中拖放文件夹内容(和子目录)
如何将包含音乐和其他音乐目录的文件夹拖放到网络应用程序(在本例中为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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
重点关注可用性标签:我认为最常见的是从网络应用程序中“选择文件”,而不是“拖放到”网络应用程序中。
在实现拖放功能时,我认为 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