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 4e1bf86

Browse files
Update ExtPlayerProtocol.swift
1 parent 25f889f commit 4e1bf86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ internal extension ExtPlayerProtocol {
284284
}
285285
}
286286

287-
currentItemObserver = player.observe(\.currentItem, options: [.new,.old,.initial]) { [weak self] player, change in
287+
currentItemObserver = player.observe(\.currentItem, options: [.new]) { [weak self] player, change in
288288
// Detecting when the current item is changed
289289
if let newItem = change.newValue as? AVPlayerItem {
290290
Task { @MainActor in

0 commit comments

Comments
(0)

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