Esempio n. 1
0
 internal void PlayYoutubeLandscapeVideo(string uTubeURL)
 {
     _youTubePlayerScript.gameObject.SetActive(true);
     _youTubePlayerScript.youtubeUrl = uTubeURL;
     _youTubePlayerScript.LoadAndPlay();
     _youTubePlayerScript.gameObject.GetComponent <VideoPlayer>().audioOutputMode = VideoAudioOutputMode.AudioSource;
 }