diff options
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add-components')
2 files changed, 18 insertions, 8 deletions
diff --git a/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html b/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html index 7a495fea5..c290fd4b1 100644 --- a/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html +++ b/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html | |||
@@ -12,10 +12,14 @@ | |||
12 | 12 | ||
13 | <div class="form-group form-group-magnet-uri"> | 13 | <div class="form-group form-group-magnet-uri"> |
14 | <label i18n for="magnetUri">Paste magnet URI</label> | 14 | <label i18n for="magnetUri">Paste magnet URI</label> |
15 | <my-help | 15 | <my-help> |
16 | helpType="custom" i18n-customHtml | 16 | <ng-template ptTemplate="customHtml"> |
17 | customHtml="You can import any torrent file that points to a mp4 file. You should make sure you have diffusion rights over the content it points to, otherwise it could cause legal trouble to yourself and your instance." | 17 | <ng-container i18n> |
18 | ></my-help> | 18 | You can import any torrent file that points to a mp4 file. |
19 | You should make sure you have diffusion rights over the content it points to, otherwise it could cause legal trouble to yourself and your instance. | ||
20 | </ng-container> | ||
21 | </ng-template> | ||
22 | </my-help> | ||
19 | 23 | ||
20 | <input type="text" id="magnetUri" [(ngModel)]="magnetUri" /> | 24 | <input type="text" id="magnetUri" [(ngModel)]="magnetUri" /> |
21 | </div> | 25 | </div> |
diff --git a/client/src/app/videos/+video-edit/video-add-components/video-import-url.component.html b/client/src/app/videos/+video-edit/video-add-components/video-import-url.component.html index e4f19faa8..09d0b8272 100644 --- a/client/src/app/videos/+video-edit/video-add-components/video-import-url.component.html +++ b/client/src/app/videos/+video-edit/video-add-components/video-import-url.component.html | |||
@@ -4,10 +4,16 @@ | |||
4 | 4 | ||
5 | <div class="form-group"> | 5 | <div class="form-group"> |
6 | <label i18n for="targetUrl">URL</label> | 6 | <label i18n for="targetUrl">URL</label> |
7 | <my-help | 7 | |
8 | helpType="custom" i18n-customHtml | 8 | <my-help> |
9 | customHtml="You can import any URL <a href='https://rg3.github.io/youtube-dl/supportedsites.html' target='_blank' rel='noopener noreferrer'>supported by youtube-dl</a> or URL that points to a raw MP4 file. You should make sure you have diffusion rights over the content it points to, otherwise it could cause legal trouble to yourself and your instance." | 9 | <ng-template ptTemplate="customHtml"> |
10 | ></my-help> | 10 | <ng-container i18n> |
11 | You can import any URL <a href='https://rg3.github.io/youtube-dl/supportedsites.html' target='_blank' rel='noopener noreferrer'>supported by youtube-dl</a> | ||
12 | or URL that points to a raw MP4 file. | ||
13 | You should make sure you have diffusion rights over the content it points to, otherwise it could cause legal trouble to yourself and your instance. | ||
14 | </ng-container> | ||
15 | </ng-template> | ||
16 | </my-help> | ||
11 | 17 | ||
12 | <input type="text" id="targetUrl" [(ngModel)]="targetUrl" /> | 18 | <input type="text" id="targetUrl" [(ngModel)]="targetUrl" /> |
13 | </div> | 19 | </div> |