diff --git a/components/previews/VideoPreview.tsx b/components/previews/VideoPreview.tsx index d69e457..aa86364 100644 --- a/components/previews/VideoPreview.tsx +++ b/components/previews/VideoPreview.tsx @@ -159,10 +159,15 @@ const VideoPreview: FC<{ file: OdFileObject }> = ({ file }) => { btnImage="/players/vlc.png" /> window.open(`potplayer://${getBaseUrl()}/${videoUrl}`)} + onClickCallback={() => window.open(`potplayer://${getBaseUrl()}${videoUrl}`)} btnText="PotPlayer" btnImage="/players/potplayer.png" /> + window.open(`nplayer-http://${getBaseUrl()}${videoUrl}`)} + btnText="nPlayer" + btnImage="/players/nplayer.png" + /> diff --git a/public/players/nplayer.png b/public/players/nplayer.png new file mode 100644 index 0000000..9701dad Binary files /dev/null and b/public/players/nplayer.png differ