kingslay / KSPlayer

A video player for iOS、macOS、tvOS、visionOS , based on AVPlayer and FFmpeg, support the horizontal, vertical screen. support adjust volume, brightness and seek by slide, support subtitles.
GNU General Public License v3.0
868 stars 182 forks source link

Possible to hide the UI of the `KSVideoPlayerView` ? #760

Closed PaulAddy closed 3 months ago

PaulAddy commented 3 months ago

Just a question, as I cannot find the feature: Is it possible to hide the UI of the KSVideoPlayerView ? Specifically all of these in red, see image.

Screenshot 2024-03-26 at 16 36 25
kingslay commented 3 months ago

是可以把所有的按钮都隐藏掉的

PaulAddy commented 3 months ago

是可以把所有的按钮都隐藏掉的

What is the option of KSVideoPlayerView to achieve this in SwiftUI? Do you have an example in one of your demos?

kingslay commented 3 months ago

我的demo里面就有这个能力了

PaulAddy commented 3 months ago

Is this the option you are referring to? Thus, it is not directly possible in SwiftUI, correct?

Screenshot 2024-03-26 at 16 49 58
kingslay commented 3 months ago

在SwiftUI 也是可以实现的。但是属于功能使用的咨询。属于技术支持。需要付费才可以