finish most of the function of php version

cannot upload video
cannot play youtube on the board
able to change position