AVPlayer layer not showing video content

1.2k Views Asked by At

I am using multiple AVPlayers to display content on my screen and they are all playing video simultaneously. The issue is that sometimes the avplayer is playing but the avplayerlayer isn't showing anything- all you get is a blank screen. This happens randomly. I don't even know how to debug this.

Has anyone had these same issues with AVPLayers or AVPlayer layers? Can you reference the same alaasset from different players at the same time? I'm guessing that these

1

There are 1 best solutions below

0
On

I had this issue when the URL video I was trying to play did not have an extension. After I appended mp4 as path extension, the video started to play in the layer.