how to assign a video file to a game object through script

hi.
I want a user to select from list of videos, once he selects, based on the selection, the video file should be loaded in to the video sphere game object at run time. how can i do this. i have different video clips in my videos folder in the unity project. so based on user selection, the corresponding video will be attached to the game object

using UnityEngine;

public class Example : MonoBehaviour
{
    void Start()
    {
        // Set the video to play. URL supports local absolute or relative paths.
        // Here, using absolute.

        videoPlayer.url = "/your/path/to/videoclip/video.mp4";
    }
}

Modified documentation code from Video.VideoPlayer