A video player based on motion detection

Hello all,
i am planning a mini project.
Logo: play a video in computer when someone stands in front of it, and pause when they go away. and rest of the time keep playing some other video.

i am completely new to arduino.

i don't know how to start with it. please help me.

Thanks is advance.

You will need to sense the presence of a person in front of the computer. This is most commonly done with an ultrasonic sensor such as HC-SR04. You can find lots of example sketches and libraries for that sensor.

You will also need a way for the Arduino to communicate to the computer and control the software that controls the video. This depends on the software you use but probably the easiest way is to use one of the Arduinos such as Pro Micro or Leonardo that can do keyboard emulation, then control the video software via keyboard shortcuts that are emulated via keypresses sent from the Arduino. This will be done via the Keyboard library:
https://www.arduino.cc/en/Reference/MouseKeyboard