Skip to content

Opening videos in the default video player #1255

Closed Locked Answered by xfzv
ImSreyas asked this question in Q&A
Discussion options

You must be logged in to vote

If you haven't modified default yazi.toml, it's probably still trying to launch mpv:

https://github.com/sxyazi/yazi/blob/main/yazi-config/preset/yazi.toml#L51-L52

play = [
    { run = 'mpv --force-window "$@"', orphan = true, for = "unix" },
]

Just use this instead:

play = [
    { run = 'vlc "$@"', desc = "VLC", orphan = true }
]

and ensure that you're using play for videos:

[open]
rules = [
  { mime = "video/*", use = [ "play", "reveal" ] },
]

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ImSreyas
Comment options

Answer selected by ImSreyas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants