aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/videos/+video-watch/modal/video-share.component.html5
-rw-r--r--client/src/app/videos/+video-watch/modal/video-share.component.scss4
-rw-r--r--client/src/app/videos/+video-watch/video-watch.module.ts4
3 files changed, 12 insertions, 1 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 26ab5144a..74a3a57d4 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
@@ -36,6 +36,11 @@
36 The url is not secured (no HTTPS), so the embed video won't work on HTTPS websites (web browsers block non secured HTTP requests on HTTPS websites). 36 The url is not secured (no HTTPS), so the embed video won't work on HTTPS websites (web browsers block non secured HTTP requests on HTTPS websites).
37 </div> 37 </div>
38 38
39 <div class="form-group qr-code-group">
40 <label i18n>QR-Code</label>
41 <ngx-qrcode qrc-element-type="url" [qrc-value]="getVideoUrl()" qrc-errorCorrectionLevel="Q"></ngx-qrcode>
42 </div>
43
39 <div class="form-group inputs"> 44 <div class="form-group inputs">
40 <span i18n class="action-button action-button-cancel" (click)="hide()"> 45 <span i18n class="action-button action-button-cancel" (click)="hide()">
41 Cancel 46 Cancel
diff --git a/client/src/app/videos/+video-watch/modal/video-share.component.scss b/client/src/app/videos/+video-watch/modal/video-share.component.scss
index 184e09027..c7f30bec5 100644
--- a/client/src/app/videos/+video-watch/modal/video-share.component.scss
+++ b/client/src/app/videos/+video-watch/modal/video-share.component.scss
@@ -1,3 +1,7 @@
1.action-button-cancel { 1.action-button-cancel {
2 margin-right: 0 !important; 2 margin-right: 0 !important;
3} 3}
4
5.qr-code-group {
6 text-align: center;
7}
diff --git a/client/src/app/videos/+video-watch/video-watch.module.ts b/client/src/app/videos/+video-watch/video-watch.module.ts
index 63128926e..4af993043 100644
--- a/client/src/app/videos/+video-watch/video-watch.module.ts
+++ b/client/src/app/videos/+video-watch/video-watch.module.ts
@@ -16,13 +16,15 @@ import { VideoShareComponent } from './modal/video-share.component'
16import { VideoWatchRoutingModule } from './video-watch-routing.module' 16import { VideoWatchRoutingModule } from './video-watch-routing.module'
17 17
18import { VideoWatchComponent } from './video-watch.component' 18import { VideoWatchComponent } from './video-watch.component'
19import { NgxQRCodeModule } from 'ngx-qrcode2'
19 20
20@NgModule({ 21@NgModule({
21 imports: [ 22 imports: [
22 VideoWatchRoutingModule, 23 VideoWatchRoutingModule,
23 SharedModule, 24 SharedModule,
24 ClipboardModule, 25 ClipboardModule,
25 TooltipModule.forRoot() 26 TooltipModule.forRoot(),
27 NgxQRCodeModule
26 ], 28 ],
27 29
28 declarations: [ 30 declarations: [