The wemb file was an image or a vid? If it is a pic it would be a reason - I made code for vids in webs and didn't think about testing pic in that format.
How long is that webm file? How big? Is it have strange name? I have really no idea what what is the reason of this bug. Could you share this file with me?