bug fixed - solve after closing the window, the video still playing