mirror of
https://github.com/TheCaduceus/FileStreamBot.git
synced 2026-01-15 08:23:28 -03:00
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:
@@ -138,7 +138,7 @@
|
||||
if (navigator.share) {
|
||||
navigator.share({
|
||||
title: "Play",
|
||||
url: window.location.href
|
||||
url: mediaLink
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user