From 4f2a90ae39a8c36fc5c1c31af519377ed8fec5c7 Mon Sep 17 00:00:00 2001 From: Boaz Sender Date: Sat, 10 Sep 2011 11:56:53 -0400 Subject: [PATCH] got it working with videos --- scripts/remixer.js | 6 ++---- styles/style.css | 4 ++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/remixer.js b/scripts/remixer.js index 25aa7e4..afcf66a 100644 --- a/scripts/remixer.js +++ b/scripts/remixer.js @@ -16,14 +16,12 @@ jQuery(function($){ .bind( 'drop', function( e ) { e.stopPropagation(); e.preventDefault(); - - console.log( e.dataTransfer.files ) - + $.each( e.dataTransfer.files, function(index, file){ var fileReader = new FileReader(); fileReader.onload = (function(file) { return function(e) { - $('#bin1').append( file.fileName + '') + $('#bin1').append( '