GithubHelp home page GithubHelp logo

Progressbar stucks about mat-video HOT 17 OPEN

nkoehler avatar nkoehler commented on May 23, 2024
Progressbar stucks

from mat-video.

Comments (17)

gabrielvendrame avatar gabrielvendrame commented on May 23, 2024 3

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.

ricardotorre avatar ricardotorre commented on May 23, 2024 1

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.

atgnatus avatar atgnatus commented on May 23, 2024 1

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.

peavers avatar peavers commented on May 23, 2024

Also experiencing this.

from mat-video.

nkoehler avatar nkoehler commented on May 23, 2024

Stuck as in won't move or how? More details if possible, browsers, and a stackblitz will help.

from mat-video.

MartinMikac avatar MartinMikac commented on May 23, 2024

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.

GKaszewski avatar GKaszewski commented on May 23, 2024

Also experiencing this problem

from mat-video.

miguelleitevieira avatar miguelleitevieira commented on May 23, 2024

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.

mazard avatar mazard commented on May 23, 2024

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.

chsculpt avatar chsculpt commented on May 23, 2024

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.

chsculpt avatar chsculpt commented on May 23, 2024

Also seeing Same problem as reported by gabrielvendrame, also source tag inside mat-source seems not to work.

from mat-video.

cryystyy avatar cryystyy commented on May 23, 2024

I have the same issue.

from mat-video.

ricardotorre avatar ricardotorre commented on May 23, 2024

same here too, angular 9

from mat-video.

aponski avatar aponski commented on May 23, 2024

I have the same problem unfortunately (Angular 9). I guess I have to look for other player :(

from mat-video.

yukwar avatar yukwar commented on May 23, 2024

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.

ricardotorre avatar ricardotorre commented on May 23, 2024

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.

saeed-abdul-rahim avatar saeed-abdul-rahim commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.