video issue fix
This commit is contained in:
parent
c79e0626c8
commit
5d3c82d4f9
@ -31,6 +31,7 @@ export class ImageVideoComponent implements OnInit {
|
||||
private _flyhi: FlyhiService, private dialog: MatDialog,
|
||||
@Inject(MAT_DIALOG_DATA) public data: any) {
|
||||
this.details =data
|
||||
console.log(this.details.flag)
|
||||
this.notifier = notifier;
|
||||
console.log(this.details)
|
||||
this.roleID = localStorage.getItem('user_role')
|
||||
@ -149,7 +150,7 @@ export class ImageVideoComponent implements OnInit {
|
||||
// panelClass:'video-chat'
|
||||
// })
|
||||
if(event == 'PDGenie'){
|
||||
let url = window.location.origin+'/vchat/#/chat/'+this.master.rand_string+';id='+this.master.sales_pd_id+';type=2'
|
||||
let url = window.location.origin+'/vchat/#/chat/'+this.master.rand_string+';id='+this.master.sales_pd_id+';type=2'+';pd_category=2'
|
||||
window.open(url,'_blank')
|
||||
} else if(event == 'G_Meet'){
|
||||
let url = this.google_Meet_Link
|
||||
|
||||
@ -175,7 +175,7 @@ const pdCustomNotifierOptions: NotifierOptions = {
|
||||
|
||||
@NgModule({
|
||||
declarations: [TelePdAllocationComponent, ListPdComponent, ManagePdComponent, MapPdViewComponent, AddPdComponent, ViewPdComponent, SmartPdAllocationComponent, EditPdApplicantComponent, EditPdMasterComponent, InprogressPdComponent, AllPdComponent, ScheduledPdComponent, CompletedPdComponent, QcCompletedPdComponent, PdReportComponent, PdRequirementComponent, ModelEditPdReportComponent, DialogChangeCurrentVenrsion, QcReviewComponent, SearchRelationPipe, RupeeCurrencyFormatPipe, DeleteRecordsCountPipe, PdLocatedMapViewDirective, ViewLocationComponent, GetAnswerableFormsPipe,PdStatusChangeDialogueComponent,InitiateAdditionalPdComponent, ExcelUploadDialogComponent,
|
||||
SpeedDialFabComponent,VideoPlayerComponent,PdAllocationComponent],
|
||||
SpeedDialFabComponent,PdAllocationComponent],
|
||||
imports: [
|
||||
CommonModule,
|
||||
ManagePdRoutingModule,
|
||||
@ -217,7 +217,7 @@ const pdCustomNotifierOptions: NotifierOptions = {
|
||||
{provide: DateAdapter, useClass: MomentDateAdapter, deps: [MAT_DATE_LOCALE]},
|
||||
{provide: MAT_DATE_FORMATS, useValue: MAT_MOMENT_DATE_FORMATS}, PdLocatedMapViewDirective],
|
||||
|
||||
entryComponents: [SmartPdAllocationComponent, EditPdApplicantComponent, EditPdMasterComponent, TelePdAllocationComponent, PdRequirementComponent, ModelEditPdReportComponent, DialogChangeCurrentVenrsion, QcReviewComponent, ViewLocationComponent,PdStatusChangeDialogueComponent,InitiateAdditionalPdComponent,ExcelUploadDialogComponent,VideoPlayerComponent,
|
||||
entryComponents: [SmartPdAllocationComponent, EditPdApplicantComponent, EditPdMasterComponent, TelePdAllocationComponent, PdRequirementComponent, ModelEditPdReportComponent, DialogChangeCurrentVenrsion, QcReviewComponent, ViewLocationComponent,PdStatusChangeDialogueComponent,InitiateAdditionalPdComponent,ExcelUploadDialogComponent,
|
||||
PdAllocationComponent],
|
||||
})
|
||||
export class ManagePdModule {
|
||||
|
||||
@ -24,6 +24,8 @@ import { ReGenerateReportComponent } from './sales-pd-list/re-generate-report/re
|
||||
import { FlyHiListComponent } from 'app/fly-hi/fly-hi-list/fly-hi-list.component';
|
||||
import { ImageVideoComponent } from 'app/fly-hi/image-video/image-video.component';
|
||||
import { FlyhiAdvanceFilterComponent, ExampleHeader } from 'app/fly-hi/fly-hi-list/flyhi-advance-filter/flyhi-advance-filter.component';
|
||||
import { VideoPlayerComponent } from 'app/video-player/video-player.component';
|
||||
import { MatVideoModule } from 'mat-video';
|
||||
@NgModule({
|
||||
imports: [
|
||||
SalesPdRoutingModule,
|
||||
@ -34,10 +36,11 @@ import { FlyhiAdvanceFilterComponent, ExampleHeader } from 'app/fly-hi/fly-hi-li
|
||||
HomePageModule,
|
||||
CommonModule,
|
||||
MatDialogModule,
|
||||
MatTooltipModule
|
||||
MatTooltipModule,
|
||||
MatVideoModule
|
||||
],
|
||||
declarations: [ExampleHeader,FlyhiAdvanceFilterComponent,ImageVideoComponent,AlertDialogComponent,FlyHiListComponent,SalesPdComponent,AdvanceFilterComponent, ReGenerateReportComponent],
|
||||
entryComponents:[ExampleHeader,FlyhiAdvanceFilterComponent,ImageVideoComponent,AlertDialogComponent,SalesPdComponent,ReGenerateReportComponent],
|
||||
declarations: [VideoPlayerComponent,ExampleHeader,FlyhiAdvanceFilterComponent,ImageVideoComponent,AlertDialogComponent,FlyHiListComponent,SalesPdComponent,AdvanceFilterComponent, ReGenerateReportComponent],
|
||||
entryComponents:[VideoPlayerComponent,ExampleHeader,FlyhiAdvanceFilterComponent,ImageVideoComponent,AlertDialogComponent,SalesPdComponent,ReGenerateReportComponent],
|
||||
providers:[ConstantsProvider,{ provide: MAT_DATE_LOCALE, useValue: 'en-GB' },{provide: DateAdapter, useClass: MomentDateAdapter, deps: [MAT_DATE_LOCALE]},
|
||||
{provide: MAT_DATE_FORMATS, useValue: MAT_MOMENT_DATE_FORMATS},{ provide: MatDialogRef, useValue: {} },{ provide: MAT_DIALOG_DATA, useValue: [] }],
|
||||
bootstrap: [SalesPdComponent],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user