diff --git a/client/views/presentations/upload.js b/client/views/presentations/upload.js index 8ea0ba1..f00bea8 100644 --- a/client/views/presentations/upload.js +++ b/client/views/presentations/upload.js @@ -3,7 +3,11 @@ Template.upload.events({ e.preventDefault(); $('#upload').addClass('fade-out'); filepicker.setKey('A3UuvGmumRN273ixbsJnVz'); - filepicker.pick(function(InkBlob) { + var pickerOptions = { + extension: ['.pdf', '.ppt', '.pptx'], + services: ['COMPUTER', 'BOX','DROPBOX', 'GOOGLE_DRIVE', 'SKYDRIVE', 'URL'] + } + filepicker.pick(pickerOptions, function(InkBlob) { Meteor.call('createPresentation', InkBlob.url, function(error, presentationId) { Router.go('presenter', {_id: presentationId}); });