Skip to content

[feat] : Add skipSeconds prop to control skip duration #1

@Shariar-Hasan

Description

@Shariar-Hasan

Closes #2

Currently, the video player has fixed skip durations (constant 10s) when users click the forward/backward skip buttons. I’d like to propose adding a new prop — skipSeconds — that allows developers to customize the skip interval according to their app’s needs.

Proposed API

<ReactNextPlayer
        src="/sample-video.mp4"
        skipSeconds={15}
/>

This would make the skip button jump forward/backward by the value provided in skipSeconds (in seconds).
Let me know if there any particular criteria needed to contribute in it.

I want to contribute in this feature, if its okay.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions