avplayeritem

Add custom controls to AVPlayer in swift

白昼怎懂夜的黑 提交于 2019-11-27 07:54:36
I am trying to create a table view such that I am able to play videos . I am able to do this using AVPlayer and layer. I want to add a custom play and pause button with a slider to the bottom of a video view. AVPlayerController comes built in with these controls. How can I implement these in AVPlayer. I have been looking for examples. But I haven't found any. Are there any GitHub examples or code samples that I can follow? Any help will be really appreciated. here I add the points , you need to customize based on your need. Step-1 initially hide your AVPlayer controls,