Comments (17)
Same problem, also source tag inside mat-source seems not to work.
Not even fetching the video
<mat-video title="Video" [autoplay]="true" [preload]="true" [fullscreen]="true"[download]="false" color="accent" spinner="spin">
<source matVideoSource src="http://localhost:3000/api/video" type="video/mp4">
</mat-video>
Video properly loading ( progressbar still not working)
<mat-video src="http://localhost:3000/api/video" title="Video" [autoplay]="true" [preload]="true" [fullscreen]="true" [download]="false" color="accent" spinner="spin">
</mat-video>
from mat-video.
https://stackblitz.com/edit/angular-o9vxrp
i have created this where the problem reproduces, first click/drag works but then doesn't appear to release (running on Chrome Version 83.0.4103.106 (Official Build) (64-bit))
from mat-video.
I fixed this by removing the constructor in internal/mat-slider-progress-bar/mat-slider-progress-bar.component.ts.
Now the progress / seek bar works fine in Angular 10.
I also removed the host in the component decorator since it was pointing to slider.ts methods that do not exist anymore but this step was not necessary.
from mat-video.
Also experiencing this.
from mat-video.
Stuck as in won't move or how? More details if possible, browsers, and a stackblitz will help.
from mat-video.
Stuck as in won't move or how? More details if possible, browsers, and a stackblitz will help.
I cant move to other part of movie. for example, in the middle of a movie. On hover of red dot of actual position on movie, icon has been changed to hand. But is not possible to move this "red dot" to any other side ( forward or backward)
My movie has size about 1GB and 8 minutes. Format .mp4. Same results is with format .mov. Codec H264.
<mat-video
title="matVideoSource"
[overlay]="true"
[autoplay]="false"
[preload]="false"
[quality]="true"
[fullscreen]="true"
[download]="false"
color="accent"
spinner="spin"
poster=""
src="assets/life_ep_1.mp4"
>
from mat-video.
Also experiencing this problem
from mat-video.
ERROR in (1,1): Directive ɵd, Property '_onSlide' does not exist on type 'MatSli
derProgressBarComponent'.
(1,1): Directive ɵd, Property '_onSlideEnd' does not exist on type 'MatSliderPro
gressBarComponent'.
(1,1): Directive ɵd, Property '_onSlideStart' does not exist on type 'MatSliderP
rogressBarComponent'.
node_modules/mat-video/mat-video.d.ts.ɵm.html(1,1): Directive ɵd, Property '_onS
lide' does not exist on type 'MatSliderProgressBarComponent'.
node_modules/mat-video/mat-video.d.ts.ɵm.html(1,1): Directive ɵd, Property '_onS
lideEnd' does not exist on type 'MatSliderProgressBarComponent'.
node_modules/mat-video/mat-video.d.ts.ɵm.html(1,1): Directive ɵd, Property '_onS
lideStart' does not exist on type 'MatSliderProgressBarComponent'.
I'm getting this strange error. Someone know how to fix?
from mat-video.
Same problem here:
ERROR in (1,1): Directive ɵd, Property '_onSlide' does not exist on type 'MatSliderProgressBarComponent'.
(1,1): Directive ɵd, Property '_onSlideEnd' does not exist on type 'MatSliderProgressBarComponent'.
(1,1): Directive ɵd, Property '_onSlideStart' does not exist on type 'MatSliderProgressBarComponent'.
Due to this error I'm not able to build SSR.
from mat-video.
I'm also seeing problems with the Progress Bar:
1 it doesn't, there is a gripper hand but clicking on the bar does nothing, and you can't slide the position either.
2) it doesn't fill 100% of the video frame
from mat-video.
Also seeing Same problem as reported by gabrielvendrame, also source tag inside mat-source seems not to work.
from mat-video.
I have the same issue.
from mat-video.
same here too, angular 9
from mat-video.
I have the same problem unfortunately (Angular 9). I guess I have to look for other player :(
from mat-video.
What did you removed from the constructor?
constructor(
elementRef: ElementRef,
focusMonitor: FocusMonitor,
changeDetectorRef: ChangeDetectorRef,
@Optional() dir: Directionality,
@Attribute("tabindex") tabIndex: string
) {
super(elementRef, focusMonitor, changeDetectorRef, dir, tabIndex);
this.tabIndex = parseInt(tabIndex, 10) || 0;
}
from mat-video.
The whole constructor is redundant and can be removed, the problem happens due to a new constructor signature in Angular 9 and 10
from mat-video.
I've tried removing it from esm2015/internal/mat-slider-progress-bar/mat-slider-progress-bar.component.ts.
This isn't working for me. Result is the same
Angular 9
from mat-video.
Related Issues (20)
- Can't load multiple sources
- Expose Video duration HOT 2
- Getting time where I stopped the video in between HOT 1
- Playback not working on mobile HOT 1
- Cannot set property 'muted' of null HOT 8
- How do you catch / handle errors with mat-video? HOT 3
- Spinner displayed forever on iphone until I click play HOT 2
- GetvideoTag() not working. HOT 3
- Time event not working HOT 1
- [BUG] Extra unnecessary src="null" in the rendered <video> element
- 3gp file is not supported
- Fullscreen Issue
- How to setting the video height and width???
- How to setting the video height and width??? HOT 1
- Disable Progress Bar
- showing blank screen in preview in ios
- runOutsideAngular error on Angular 10 HOT 1
- Pressing play triggers submit in angular form
- No video controls
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mat-video.