title: Unity Video Player, the video cannot be played properly
body: <p>I am developing a game for android and ios via Unity. I have to play a video in a scene in the game and I use the video player component for this. I get the video link on local using xampp. And the video I'm trying to play is in mp4 format. But when I start the game, the video cannot be played properly. I am not getting an error, but video looks like the picture I send. I don't know what I'm doing wrong, can you help me? I also share the code I used and related pictures with you.</p>
  <pre><code>public VideoPlayer videoplayer;
  public string videoUrl=&quot;urlgir&quot;;
  void Start() {
  videoplayer.url = videoUrl;
  videoplayer.audioOutputMode=VideoAudioOutputMode.AudioSource;
  videoplayer.EnableAudioTrack (0, true);
      videoplayer.Prepare (); }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/NfEQE.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NfEQE.jpg" alt="enter image description here" /></a>
  <a href="https://i.stack.imgur.com/DOoPa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DOoPa.png" alt="enter image description here" /></a>
  <a href="https://i.stack.imgur.com/nANLa.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nANLa.jpg" alt="enter image description here" /></a></p>