-
Notifications
You must be signed in to change notification settings - Fork 65
Description
Getting issue in chrome
TypeError: window.URL.createObjectURL is not a function
at e (http://localhost:7000/bower_components/angularAudioRecorder/dist/angular-audio-recorder.min.js:1:17853)
at Function.toWorker (http://localhost:7000/bower_components/angularAudioRecorder/dist/angular-audio-recorder.min.js:1:18008)
at new r (http://localhost:7000/bower_components/angularAudioRecorder/dist/angular-audio-recorder.min.js:1:21254)
at new n (http://localhost:7000/bower_components/angularAudioRecorder/dist/angular-audio-recorder.min.js:1:1679)
at Object.invoke (http://localhost:7000/bower_components/angular/angular.js:4570:17)
at extend.instance (http://localhost:7000/bower_components/angular/angular.js:9445:34)
at nodeLinkFn (http://localhost:7000/bower_components/angular/angular.js:8550:34)
at compositeLinkFn (http://localhost:7000/bower_components/angular/angular.js:7975:13)
at compositeLinkFn (http://localhost:7000/bower_components/angular/angular.js:7978:13)
at compositeLinkFn (http://localhost:7000/bower_components/angular/angular.js:7978:13)
in minjs -
r=window.URL.createObjectURL(new Blob(["(",n,")
possible solution is -
var myURL = window.URL || window.webkitURL
var fileURL = myURL.createObjectURL(file);
any possible way to set url through service??