diff options
Diffstat (limited to 'client/src/app/videos/+video-watch/modal')
3 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/videos/+video-watch/modal/video-share.component.html b/client/src/app/videos/+video-watch/modal/video-share.component.html index 82e59d04d..e0be9f265 100644 --- a/client/src/app/videos/+video-watch/modal/video-share.component.html +++ b/client/src/app/videos/+video-watch/modal/video-share.component.html | |||
@@ -27,7 +27,7 @@ | |||
27 | <ngb-tab i18n-title title="QR-Code" id="qrcode"> | 27 | <ngb-tab i18n-title title="QR-Code" id="qrcode"> |
28 | <ng-template ngbTabContent> | 28 | <ng-template ngbTabContent> |
29 | <div class="tab-content"> | 29 | <div class="tab-content"> |
30 | <ngx-qrcode qrc-element-type="url" [qrc-value]="getVideoUrl()" qrc-errorCorrectionLevel="Q"></ngx-qrcode> | 30 | <qrcode [qrdata]="getVideoUrl()" size="256" level="Q"></qrcode> |
31 | </div> | 31 | </div> |
32 | </ng-template> | 32 | </ng-template> |
33 | </ngb-tab> | 33 | </ngb-tab> |
diff --git a/client/src/app/videos/+video-watch/modal/video-share.component.ts b/client/src/app/videos/+video-watch/modal/video-share.component.ts index eaaf6b902..f45afccfb 100644 --- a/client/src/app/videos/+video-watch/modal/video-share.component.ts +++ b/client/src/app/videos/+video-watch/modal/video-share.component.ts | |||
@@ -30,7 +30,7 @@ type Customizations = { | |||
30 | styleUrls: [ './video-share.component.scss' ] | 30 | styleUrls: [ './video-share.component.scss' ] |
31 | }) | 31 | }) |
32 | export class VideoShareComponent { | 32 | export class VideoShareComponent { |
33 | @ViewChild('modal') modal: ElementRef | 33 | @ViewChild('modal', { static: true }) modal: ElementRef |
34 | 34 | ||
35 | @Input() video: VideoDetails = null | 35 | @Input() video: VideoDetails = null |
36 | @Input() videoCaptions: VideoCaption[] = [] | 36 | @Input() videoCaptions: VideoCaption[] = [] |
diff --git a/client/src/app/videos/+video-watch/modal/video-support.component.ts b/client/src/app/videos/+video-watch/modal/video-support.component.ts index 5e7afa012..b56a51fbf 100644 --- a/client/src/app/videos/+video-watch/modal/video-support.component.ts +++ b/client/src/app/videos/+video-watch/modal/video-support.component.ts | |||
@@ -11,7 +11,7 @@ import { MarkdownService } from '@app/shared/renderer' | |||
11 | export class VideoSupportComponent { | 11 | export class VideoSupportComponent { |
12 | @Input() video: VideoDetails = null | 12 | @Input() video: VideoDetails = null |
13 | 13 | ||
14 | @ViewChild('modal') modal: NgbModal | 14 | @ViewChild('modal', { static: true }) modal: NgbModal |
15 | 15 | ||
16 | videoHTMLSupport = '' | 16 | videoHTMLSupport = '' |
17 | 17 | ||