javascript checkurl and video relate size