Skip to content

Commit

Permalink
fix(player): fix player width in dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
4gray committed Jan 7, 2024
1 parent 014f826 commit bd09450
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/app/xtream/player-dialog/player-dialog.component.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -22,6 +22,14 @@ interface DialogData {
NgIf,
VjsPlayerComponent,
],
styles: `
mat-dialog-content {
.video-js {
height: 500px !important;
}
}
`,
encapsulation: ViewEncapsulation.None,
})
export class PlayerDialogComponent {
channel = {};
Expand Down

1 comment on commit bd09450

@vercel
Copy link

@vercel vercel bot commented on bd09450 Jan 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

iptvnator – ./

iptvnator-git-electron-4gray.vercel.app
iptvnator.vercel.app
iptvnator-4gray.vercel.app

Please sign in to comment.