Skip to content

Commit

Permalink
fix: encode URL param for IINA player (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
xfoxfu committed May 2, 2024
1 parent d06a792 commit 2bdfd30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/previews/video_box.tsx
Expand Up @@ -18,7 +18,7 @@ import { SelectWrapper } from "~/components"
Artplayer.PLAYBACK_RATE = [0.5, 0.75, 1, 1.25, 1.5, 2, 3, 4]

export const players: { icon: string; name: string; scheme: string }[] = [
{ icon: "iina", name: "IINA", scheme: "iina://weblink?url=$durl" },
{ icon: "iina", name: "IINA", scheme: "iina://weblink?url=$edurl" },
{ icon: "potplayer", name: "PotPlayer", scheme: "potplayer://$durl" },
{ icon: "vlc", name: "VLC", scheme: "vlc://$durl" },
{ icon: "nplayer", name: "nPlayer", scheme: "nplayer-$durl" },
Expand Down

0 comments on commit 2bdfd30

Please sign in to comment.