                     player.setStatus(to: .readyToPlay)
                     var didTriggerDidSeek = false
                     var position: Double?
+                    let expectedSeekPosition = 5.0
 
                     playback.on(Event.didSeek.rawValue) { userInfo in
                         position = userInfo?["position"] as? Double

                    var updatedPosition: Double? = nil
                    var didSeek = false
                    var didTriggerDidSeekBefore = false

                    playback.on(Event.didSeek.rawValue) { _ in
                        didSeek = true

                    playback.player = player
                    player.setStatus(to: .readyToPlay)
                    var updatedPosition: Double? = nil
                    let expectedSeekPosition = 5.0

                    playback.on(Event.didUpdatePosition.rawValue) { (userInfo: EventUserInfo) in
                        updatedPosition = userInfo!["position"] as? Double
