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.
After implementing KSPlayer in my visionOS app, I noticed that the UI could be aligned a little more on how other apps (e.g. Juno for youtube) look like, taking benefit of the newly introduced ornaments and glassBackground styles.
Most controls (title, playback buttons, video timer, content mode, subtitles, playback rate and info) have been moved to a bottom-attached ornament.
Volume has been enhanced. Now it uses a slider so users can set the volume level that they want.
The sheet that was presented when tapping the info button was broken on visionOS, you could open it up, but it wasn't possible to dismiss it. Now it uses the same "Done" button as macOS.
Changes done here shouldn't affect other platforms and should only apply to visionOS
After implementing KSPlayer in my visionOS app, I noticed that the UI could be aligned a little more on how other apps (e.g. Juno for youtube) look like, taking benefit of the newly introduced ornaments and glassBackground styles.
My initial proposal for it, was written here: https://github.com/kingslay/KSPlayer/discussions/751
Features:
Changes done here shouldn't affect other platforms and should only apply to visionOS