How do I display video with transparency above app?

I want to diplay a video running in a layer above my app. The video has a zone of transparency like a PNG file, that would allow my app to run in the background.


My understanding is that AVFoundation would allow me to create 2 layers; 1/ app running in background, 2/ video with transpaency running on top.


Is the best implementation?


What alternatives should I consider?