A mobile terminal, comprising: a plurality of magnetic sensors (143a, 143b) configured to sense a spatial position of an input device including a magnetic field generator; a touch screen; a controller; characterized in that: the touch screen is configured to display a video captured at 360° or 180° angles and a search bar for searching the video; and the controller is configured to: in response to a first touch input applied to the search bar using the input device, display a preview image at a play time point corresponding to the first touch input on the touch screen, maintain a display state of the preview image in response to a second touch input being applied to the touch screen using a user's finger after the first touch input, and change a viewing angle of the preview image based on the sensed spatial position of the input device indicating the input device is pulled away from the touch screen and spatially moved with respect to the touch screen while the second touch input is applied to the touch screen, in response to the second touch input being released, fix the changed viewing angle of the preview image corresponding to the play time point, and play a video at the changed viewing angle when the play time point arrives where the preview image is placed. a plurality of magnetic sensors (143a, 143b) configured to sense a spatial position of an input device including a magnetic field generator; a touch screen; a controller; characterized in that: the touch screen is configured to display a video captured at 360° or 180° angles and a search bar for searching the video; and the controller is configured to: in response to a first touch input applied to the search bar using the input device, display a preview image at a play time point corresponding to the first touch input on the touch screen, maintain a display state of the preview image in response to a second touch input being applied to the touch screen using a user's finger after the first touch input, and change a viewing angle of the preview image based on the sensed spatial position of the input device indicating the input device is pulled away from the touch screen and spatially moved with respect to the touch screen while the second touch input is applied to the touch screen, the touch screen is configured to display a video captured at 360° or 180° angles and a search bar for searching the video; and the controller is configured to: in response to a first touch input applied to the search bar using the input device, display a preview image at a play time point corresponding to the first touch input on the touch screen, maintain a display state of the preview image in response to a second touch input being applied to the touch screen using a user's finger after the first touch input, and change a viewing angle of the preview image based on the sensed spatial position of the input device indicating the input device is pulled away from the touch screen and spatially moved with respect to the touch screen while the second touch input is applied to the touch screen, in response to a first touch input applied to the search bar using the input device, display a preview image at a play time point corresponding to the first touch input on the touch screen, maintain a display state of the preview image in response to a second touch input being applied to the touch screen using a user's finger after the first touch input, and change a viewing angle of the preview image based on the sensed spatial position of the input device indicating the input device is pulled away from the touch screen and spatially moved with respect to the touch screen while the second touch input is applied to the touch screen, in response to the second touch input being released, fix the changed viewing angle of the preview image corresponding to the play time point, and play a video at the changed viewing angle when the play time point arrives where the preview image is placed.