diff options
author | Jeena <hello@jeena.net> | 2020-10-18 03:16:41 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-10-29 09:06:40 +0100 |
commit | dd1e2f2f96d736dd955fd72cfc041d06249c4a3e (patch) | |
tree | fc785997dbdc291489b10607a389c075eabe4e17 /client/src/app/shared/shared-share-modal/video-share.component.html | |
parent | 44fb529740f53d58b386e6024184452aee803236 (diff) | |
download | PeerTube-dd1e2f2f96d736dd955fd72cfc041d06249c4a3e.tar.gz PeerTube-dd1e2f2f96d736dd955fd72cfc041d06249c4a3e.tar.zst PeerTube-dd1e2f2f96d736dd955fd72cfc041d06249c4a3e.zip |
Add possibility to share origin URL to video if it's not local
It's very difficult to share the original URL for a video when you watch it on your
own instance while it's not from it but from a different instance. Right now when
you use the share UI you only can share a link so a person can watch it on your
own instance, this patch adds a checkbox to the share UI to share the origin URL
instead if needed.
Diffstat (limited to 'client/src/app/shared/shared-share-modal/video-share.component.html')
-rw-r--r-- | client/src/app/shared/shared-share-modal/video-share.component.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-share-modal/video-share.component.html b/client/src/app/shared/shared-share-modal/video-share.component.html index 4174458b5..3222dc5a6 100644 --- a/client/src/app/shared/shared-share-modal/video-share.component.html +++ b/client/src/app/shared/shared-share-modal/video-share.component.html | |||
@@ -173,6 +173,13 @@ | |||
173 | i18n-labelText labelText="Loop" | 173 | i18n-labelText labelText="Loop" |
174 | ></my-peertube-checkbox> | 174 | ></my-peertube-checkbox> |
175 | </div> | 175 | </div> |
176 | |||
177 | <div *ngIf="!isLocalVideo() && !isVideoInEmbedTab()" class="form-group"> | ||
178 | <my-peertube-checkbox | ||
179 | inputName="originUrl" [(ngModel)]="customizations.originUrl" | ||
180 | i18n-labelText labelText="Use origin instance URL" | ||
181 | ></my-peertube-checkbox> | ||
182 | </div> | ||
176 | </div> | 183 | </div> |
177 | 184 | ||
178 | <ng-container *ngIf="isVideoInEmbedTab()"> | 185 | <ng-container *ngIf="isVideoInEmbedTab()"> |