示例#1
0
 // Load a new video file or url.
 public void Load(string url, bool play)
 {
     autoPlay = play;
     if (!string.IsNullOrEmpty(url))
     {
         videoUrl      = url;
         videoFullPath = Utils.GetFilePath(url, videoSource);
         mediaPlayer.Load(videoFullPath, play);
     }
 }