[Vuejs]-TypeError: i.createObjectURL is not a function

0๐Ÿ‘

โœ…

Ok, after looking for a possible solution I found that the problem is this function:

URL.createObjectURL(blob)

No matter how I use it, either directly or through a library the error was always here. The way I solved it was by changing the previous function for this one:

window.webkitURL.createObjectURL(blob)

At least this worked for me, I hope it can help someone else who has the same problem.

Leave a comment