piemonte / Player

▶️ Play and stream media in Swift
MIT License
2.08k stars 334 forks source link

How to create custom view on video player #233

Open ghost opened 4 years ago

ghost commented 4 years ago

I am making video player in swift. I add some custom buttons and functionality for standard video player: 1. Playing video from URL (server) 2. Showing indicator while loading video like in VK 3. Add custom buttons to control (stop, pause buttons) and its working fine. I'm trying to implement custom view on player like below screen shot and play in custom duration in loop.

I need this type of view on video player

Screen Shot 1

I can't understand how I can implement my tasks(For video url) there. Can you give some advice, which is the better way to do this?