fix the bug of multiple click on the video button