mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 12:06:16 -08:00
fix(player): fix player width in dialog
This commit is contained in:
1 parent
014f826c80
commit
bd09450551
1 file changed
+9
-1
@@ -1,5 +1,5 @@
|
||||
import { NgIf } from '@angular/common';
|
||||
import { Component, Inject } from '@angular/core';
|
||||
import { Component, Inject, ViewEncapsulation } from '@angular/core';
|
||||
import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
||||
import { getExtensionFromUrl } from '../../../../shared/playlist.utils';
|
||||
import { HtmlVideoPlayerComponent } from '../../player/components/html-video-player/html-video-player.component';
|
||||
@@ -22,6 +22,14 @@ interface DialogData {
|
||||
NgIf,
|
||||
VjsPlayerComponent,
|
||||
],
|
||||
styles: `
|
||||
mat-dialog-content {
|
||||
.video-js {
|
||||
height: 500px !important;
|
||||
}
|
||||
}
|
||||
`,
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
})
|
||||
export class PlayerDialogComponent {
|
||||
channel = {};
|
||||
|
||||
Reference in new issue
Block a user