From 8a3b5a5d2717ce984a9c01726110f21be98fee3b Mon Sep 17 00:00:00 2001 From: venbainfotech Date: Thu, 2 Jun 2022 14:00:44 +0530 Subject: [PATCH] Google Video Issue fix --- .../image-video/image-video.component.html | 88 +++++++------------ .../image-video/image-video.component.ts | 11 ++- .../list-pd/view-pd/view-pd.component.ts | 4 +- 3 files changed, 43 insertions(+), 60 deletions(-) diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/image-video/image-video.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/image-video/image-video.component.html index 898205e01..395d74813 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/image-video/image-video.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/image-video/image-video.component.html @@ -1,8 +1,8 @@
-

-
+

+
Image Capture URL
@@ -38,8 +38,8 @@
-

-
+

+
VIDEO CALL
@@ -49,73 +49,51 @@ play_circle_filled  Play Recorded Video - - +

-
- -
+
+
+ +
+
-
- -
- - -
- - -
- +
+
+
+

Google Meet :

+
+
+ +
+
+ + +
+
{{pdGenie_GMeet_Link}}
-
+
@@ -132,8 +110,8 @@
-

-
+

+
VIDEO CALL
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/image-video/image-video.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/image-video/image-video.component.ts index a98d33aff..744964fed 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/image-video/image-video.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/image-video/image-video.component.ts @@ -134,7 +134,7 @@ export class ImageVideoComponent implements OnInit { }) } - openVideoChat(){ + open_PDGenie_GMeet(event){ // let dialogRef = this.dialog.open(VideoChatComponent,{ // data:{type:'init',random_string:this.pdMasterData[0].random_string,pd_id:this.viewID}, // maxWidth: '100vw', @@ -144,8 +144,13 @@ export class ImageVideoComponent implements OnInit { // disableClose: true, // panelClass:'video-chat' // }) - let url = window.location.origin+'/vchat/#/chat/'+this.master.random_string+';id='+this.master.pd_id+';type=2' - window.open(url,'_blank') + if(event == 'PDGenie'){ + let url = window.location.origin+'/vchat/#/chat/'+this.master.random_string+';id='+this.master.pd_id+';type=2' + window.open(url,'_blank') + } else if(event == 'G_Meet'){ + let url = this.google_Meet_Link + window.open(url,'_blank') + } } openPlayer(){ // if(this.videoplayback.url == null) { diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts index fa33f337b..3a9c38f67 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts @@ -785,8 +785,8 @@ export class ViewPdComponent implements OnInit, OnDestroy { data: {masterDetails:master,videoChatLink:videoChatLink,applicantNo:this.pdApplicantData[0].mobile_no,flag:1}, // position: { right: '0' }, maxWidth: '70vw', - maxHeight: '50vw', - height: '50%', + maxHeight: '60vw', + height: '60%', width: '70%', disableClose: true });