Merge pull request #3712 from Bnyro/master

feat(ux): remember time code when switching between audio/video mode
This commit is contained in:
Bnyro 2024-07-15 12:49:02 +02:00 committed by GitHub
commit 1ae1688a82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -344,6 +344,7 @@ export default {
toggleListenUrl(_this) {
const url = new URL(window.location.href);
url.searchParams.set("listen", _this.isListening ? "0" : "1");
url.searchParams.set("t", Math.floor(this.currentTime));
return url.pathname + url.search;
},
isEmbed(_this) {