Skip to content

AudioNavigator.seek cannot cross previous resource boundary #394

@domkm

Description

@domkm

Describe the bug

seek seems unusable for a slider component or rewind button in a multi-resource audiobook, because it cannot go further back than the beginning of the current resource.

How to reproduce?

  1. Create an AudioNavigator from an audiobook with multiple resources.
  2. Observe that navigator.seek(to: time) and navigator.seek(by: -time) cannot move the current playback position from resource n to resource n-1. Instead, it moves playback to the beginning of resource n.

Readium version

I tried 2.6.1 and develop

OS version

17.2

Testing device

simulator

Environment

Xcode 15.2
Build version 15C500b

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions