title: Playing H.265 video file using AVPlayer
body: <p>I am trying to play H.265 video file using AVPlayer(Both in iOS 10,11). Following is the code:</p>
  
  <pre><code> let fileUrl = Bundle.main.url(forResource: "sample-h265-360", withExtension: "mp4")
   player = AVPlayer(url: fileUrl!)
   player?.play()
  </code></pre>
  
  <p>Audio is playing fine but video is not showing(I am using AVPlayerViewController). I have read that H.265 is supported in iOS 11 but the result is same for me(audio playing but video not showing). </p>
  
  <p>I tried to transfer the file and play it using other Apps. It worked fine with ShareIt. Can anyone suggest libraries to play this content? or what in-built music player does shareIt use? Is there any mistake in my code? Was anyone successful in playing H.265 file using AVPlayer?</p>