Improve: Use download link with share button instead of current window's URL.

Using download link instead of current window's URL make it possible to start playing the current media in external player.
This commit is contained in:
Dr.Caduceus
2023-12-01 21:53:08 +05:30
committed by GitHub
parent e2728de2d2
commit ae40ae9af6

View File

@@ -138,7 +138,7 @@
if (navigator.share) {
navigator.share({
title: "Play",
url: window.location.href
url: mediaLink
});
}
};