diff --git a/client/src/assets/player/peertube-link-button.ts b/client/src/assets/player/peertube-link-button.ts index a47adc2db..54d802732 100644 --- a/client/src/assets/player/peertube-link-button.ts +++ b/client/src/assets/player/peertube-link-button.ts @@ -32,7 +32,10 @@ class PeerTubeLinkButton extends Button { private buildHref (time?: number) { let href = window.location.href.replace('embed', 'watch') - if (time) href += '?start=' + time + if (time) { + if (window.location.search) href += '&start=' + time + else href += '?start=' + time + } return href }