Closed DenisaSurdu closed 5 years ago
Version 2.5.1 of mat-video is now available. I was able to reproduce the issue on that specific version of Chrome, and a fix has been introduced in this release which I can confirm works on Chrome 71. As such, this issue will be closed.
Bug, feature request, or proposal:
Bug
What is the current behavior?
When using a video in a mat-dialog and clicking on full screen, following error can be seen in Chrome dev-tools and the video doesn't change to full screen.
What is the expected behavior?
I would have expected the video to display full screen and without an error.
Alternatively (much preferred) have the option to open video in an overlay mode without needing a mat-dialog.
What are the steps to reproduce?
Use the following code in a mat-dialog component:
Run the app, open dev tools, open the video (should open it in a dialog) and click on the full screen button.
What is the use-case or motivation for changing an existing behavior?
The video has no overlay option and it needs to be displayed on a user action only.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 7.0.3 "@angular/material": "7.0.3", "mat-video": "2.5.0" "typescript": "3.1.6"
Chrome Version 71.0.3578.98 (Official Build) unknown (64-bit)
OS: Ubuntu 16.6 LTS
Is there anything else I should know?
n/a