Skip to content

Commit

Permalink
fix lyc8503#23: add mpv-android link
Browse files Browse the repository at this point in the history
  • Loading branch information
lyc8503 committed Aug 22, 2024
1 parent a755699 commit 40d1727
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Binary file added public/players/mpv-android.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/components/previews/VideoPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ const VideoPreview: FC<{ file: OdFileObject }> = ({ file }) => {
btnText="nPlayer"
btnImage="/players/nplayer.png"
/>
<DownloadButton
onClickCallback={() => window.open(`intent://${getBaseUrl()}${videoUrl}#Intent;type=video/any;package=is.xyz.mpv;scheme=https;end;`)}
btnText="mpv-android"
btnImage="/players/mpv-android.png"
/>
</div>
</DownloadBtnContainer>
</>
Expand Down

0 comments on commit 40d1727

Please sign in to comment.