i am making avplayer with swiftui. With uiviewcontrollerrepresenta what I need is whether the video being played is finished or not, if it is done I need to take action accordin