aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/video-watch/video-share.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos/video-watch/video-share.component.ts')
-rw-r--r--client/src/app/videos/video-watch/video-share.component.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/videos/video-watch/video-share.component.ts b/client/src/app/videos/video-watch/video-share.component.ts
index 74b238350..8e6de1294 100644
--- a/client/src/app/videos/video-watch/video-share.component.ts
+++ b/client/src/app/videos/video-watch/video-share.component.ts
@@ -35,4 +35,8 @@ export class VideoShareComponent {
35 getVideoUrl() { 35 getVideoUrl() {
36 return window.location.href; 36 return window.location.href;
37 } 37 }
38
39 notSecure() {
40 return window.location.protocol === 'http:';
41 }
38} 42}