Skip to content

Commit

Permalink
Merge pull request #3712 from Bnyro/master
Browse files Browse the repository at this point in the history
feat(ux): remember time code when switching between audio/video mode
  • Loading branch information
Bnyro authored Jul 15, 2024
2 parents 38b3728 + bb48d17 commit 1ae1688
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/WatchVideo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1ae1688

Please sign in to comment.