Add basic PiP support

This commit is contained in:
Arkadiusz Fal
2021-08-18 00:00:53 +02:00
parent 2dff68200d
commit 8d5a191779
6 changed files with 70 additions and 18 deletions

View File

@@ -26,7 +26,7 @@ final class PlayerViewController: NSViewController {
playerState.player = player
playerView.player = playerState.player
playerView.controlsStyle = .floating
playerView.allowsPictureInPicturePlayback = true
playerView.showsFullScreenToggleButton = true
view = playerView