fixed problem with video formats (mp4, webm, ogv)

This commit fixes the problem with the video formats (mp4, webm, ogv).