You should delete this code. It's a workaround for LaTeX source, but you thankfully don't have that issue with video player.