Ejemplo n.º 1
0
 public void LoadVideo()
 {
     if (IsVideoMetadataLoaded())
     {
         controller.PlayVideos(videoFiles, is3D, videoStereoFormat, autoPlay);
     }
 }
Ejemplo n.º 2
0
        private void OnLoadVimeoVideoComplete(string response)
        {
            var json = JSON.Parse(response);

            if (json["error"] == null)
            {
                controller.PlayVideos(GetVideoFiles(json), is3D, videoStereoFormat);
            }
            else
            {
                Debug.LogError("Video could not be found");
            }
        }