fixed cross browser issues of the video analysis demo