Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set '--force-seekable=yes' #629

Closed
cuifengcn opened this issue Dec 1, 2023 · 2 comments
Closed

How to set '--force-seekable=yes' #629

cuifengcn opened this issue Dec 1, 2023 · 2 comments

Comments

@cuifengcn
Copy link

I'm new to media_kit, when seek to some duration, there is a error callback "You Can force it with '--force-seekable=yes'." and i have no idea how to solve it.

win11 system

@23doors
Copy link
Contributor

23doors commented Dec 1, 2023

Never encountered it so info about format could be useful. But you can try this:

if (player.platform is NativePlayer) {
  await (player.platform as dynamic).setProperty(
    'force-seekable',
    'yes',
  );
}

@cuifengcn
Copy link
Author

Thanks! It works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants