Skip to content

Commit 4cfb264

Browse files
committed
remove 2.5x and 3x playback rates by default
1 parent a73e272 commit 4cfb264

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

BeyondWordsPlayer/BeyondWordsPlayer/PlayerView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ extension PlayerView {
196196
var playerSettingsCopy = playerSettings
197197
playerSettingsCopy.bundleIdentifier = Bundle.main.bundleIdentifier
198198
playerSettingsCopy.vendorIdentifier = UIDevice.current.identifierForVendor?.uuidString
199+
playerSettingsCopy.playbackRates = playerSettingsCopy.playbackRates ?? [0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 2]
199200
callFunction("load", args: [playerSettingsCopy])
200201
}
201202

0 commit comments

Comments
 (0)