Added more cases where the plugin should still work if the video is invalid.