Video element is over buttons on native ios app

I am working on a video call app. When I am running my application as native ios application then the buttons are hiding behind the video overlay. z-index is not working. I have searched a lot regarding this problem but with no success.