This probably deserves a comment – in the context of the patch I can tell this is so that videos are ignored because they'll be handled explicitly in the video.js module, but it might be confusing without that context.