This is a full example of using iOS AVPlayer on a layer. I've looked everywhere but nothing this complete.
In the demo project, I'm tried to emulate Youtube's official app behaviour.
Get all the logs you need and fix bugs, crashes, and other issues in minutes instead of days. With Instabug you will automatically receive device data, network logs, and reproduction steps with every bug and crash report. It only takes a line of code to integrate and is perfect for teams that are now working remotely. See more detailed features comparison and try Instabug for free here.