diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -199,6 +199,11 @@ WebTorrent.prototype.seed = function (input, opts, onseed) {
     onseed = opts
     opts = {}
   }
+
+  if (typeof FileList === 'function' && input instanceof FileList) {
+    input = Array.prototype.slice.call(input)
+  }
+
   // TODO: support `input` as filesystem path string
   var buffer = Buffer.concat(input.map(function (file) {
     return file.buffer
Support `FileList` as input for the `seed` method

The W3C `FileList` object has no `map` method, thus it needs to be converted to an array before using.