We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b20dfb0 commit 436f764Copy full SHA for 436f764
Sources/swiftui-loop-videoplayer/protocol/view/LoopingPlayerProtocol.swift
@@ -96,6 +96,8 @@ extension LoopingPlayerProtocol {
96
97
player?.replaceCurrentItem(with: newItem)
98
99
+ loop()
100
+
101
// Seek to the beginning of the item if you want to start from the start
102
player?.seek(to: .zero, completionHandler: { _ in
103
// Resume playing if the player was playing before
0 commit comments