sanjayV/ng-image-slider

Blob's URL work with images but not with Videos

aabdo opened this issue · 0 comments

aabdo commented

Thanks for your efforts,
I have the same problem like #50
I find out that you are using the file extension to determine the type of the file (image, youtube video, or mp4 video), but when we use a blob URL that doesn't afford file extension example: "blob:http://localhost:4200/23a774ab-c86d-4965-bce6-86936db479b5" the Url is classified as Image Url.
can you change the source code of "setUrl" Methode and use "this.isVideo" property to determine if it's a video or image link.
Best regards.