Question

I'm writing this HTML5 music player that works by dragging music files onto it. (will soon use WebRTC too)

http://pepijndevos.nl/KjuMusic/

It works in Chrome, it used to work in Firefox, and still does on a friends Mac.

However, on my Xubuntu laptop, both with the default and the nightly Firefox, I get

FileList { length=0, item=item()}

when dropping one or more files. I'm not even sure anymore if this is a bug in my code, Firefox, or somewhere else in xfce.

Was it helpful?

Solution

Which file manager are you using? HTML5 Drag&Drop used to only work with Nautilus for a long time. As of this writing, PCManFM works as well, but Thunar still doesn't.

Current versions for future reference:

  • Thunar 1.6.3
  • PCManFM 1.1.1
  • Nautilus 3.8.2

There's also a Firefox Bugzilla entry regarding this problem: https://bugzilla.mozilla.org/show_bug.cgi?id=609284

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top