diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -152,6 +152,11 @@ player.use(localfile);
 player.use(youtube);
 player.use(transcode);
 
+player.use(function(ctx, next) {
+  if (!ctx.options.type) ctx.options.type = 'video/mp4';
+  next();
+});
+
 if (!opts.path) {
   player.attach(opts, ctrl);
 } else {
always use 'video/mp4' as mime-type if nothing else was specified