Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2e927af

Browse files
Update ExtPlayerProtocol.swift
1 parent 1a395f8 commit 2e927af

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

‎Sources/swiftui-loop-videoplayer/protocol/player/ExtPlayerProtocol.swift‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ internal extension ExtPlayerProtocol {
7272
/// - Parameters:
7373
/// - settings: The `VideoSettings` struct that includes all necessary configurations like gravity, loop, and mute.
7474
/// - timePublishing: Optional `CMTime` that specifies a particular time for publishing or triggering an event.
75-
func setupPlayerComponents(
76-
settings: VideoSettings
77-
) {
75+
func setupPlayerComponents(settings: VideoSettings) {
7876

7977
guard let player else { return }
8078

@@ -88,10 +86,7 @@ internal extension ExtPlayerProtocol {
8886
/// - Parameters:
8987
/// - player: The AVQueuePlayer to be configured.
9088
/// - settings: The `VideoSettings` struct that includes all necessary configurations like gravity, loop, and mute.
91-
func configurePlayer(
92-
_ player: AVQueuePlayer,
93-
settings: VideoSettings
94-
) {
89+
func configurePlayer(_ player: AVQueuePlayer, settings: VideoSettings) {
9590

9691
player.isMuted = settings.mute
9792
if !settings.loop{

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /