diff --git a/src/components/WatchVideo.vue b/src/components/WatchVideo.vue
index 07e695a6..911566b2 100644
--- a/src/components/WatchVideo.vue
+++ b/src/components/WatchVideo.vue
@@ -53,6 +53,14 @@
>
{{ $t("player.watch_on") }} LBRY
+
+
+
@@ -122,7 +130,11 @@
@@ -306,6 +318,16 @@ export default {
},
},
computed: {
+ isListening(_this) {
+ const listenQueryParam = _this.$route.query.listen;
+ return listenQueryParam === "1";
+ },
+ toggleListenUrl(_this) {
+ const newUrl = _this.isListening
+ ? _this.$route.fullPath.replace(/(listen=1&?)|(&?listen=1)/, "")
+ : `${_this.$route.fullPath}&listen=1`;
+ return newUrl;
+ },
isEmbed(_this) {
return String(_this.$route.path).indexOf("/embed/") == 0;
},