Hi there, I have an issue with the video player, when i press play it plays the sound but no video is shown. It shows in the preview window but not on the raw image! Code (CSharp): RenderTexture text; public VideoPlayer player; public RawImage image; public AudioSource audioSource; void Start() { text = new RenderTexture((int)player.clip.width, (int)player.clip.height, 0); player.targetTexture = text; player.renderMode = VideoRenderMode.RenderTexture; image.texture = text; Vector3 scale = image.transform.localScale; image.transform.localScale = scale; player.audioOutputMode = VideoAudioOutputMode.AudioSource; player.SetTargetAudioSource(0, audioSource); player.source = VideoSource.VideoClip; player.Play(); } This is what i am using to play the video. Does anyone know why this is happening.
Does the video clip play when you double click on the video file in the file system and play it? Windows or Mac?
On another note, do you know how i could get a thumbnail of the video? All the videos will be setup by the client and we need a way to show thumbnails directly from the video file?