nkoehler / mat-video

:tv: mat-video is an Angular 8/9+ video player using Material!
https://nkoehler.github.io/mat-video/
MIT License
91 stars 47 forks source link

How do you catch / handle errors with mat-video? #48

Closed born2net closed 4 years ago

born2net commented 4 years ago

How do you catch / handle errors with mat-video? I have tried: this.renderer.listen(video, 'error', () => console.log('video ended')); but no luck.

in my case I am trying to load flv videos and receive an error (which I am not sure even why as the video is H.264 encoded). tx, Sean.

born2net commented 4 years ago

new ideas? tx

nkoehler commented 4 years ago

mat-video supports the same formats as the HTML5 video tag. Most browsers do not support FLV for this.

You will need a separate library and video player for flv videos. https://stackoverflow.com/questions/18414015/how-to-play-flv-video-in-html-video-tags

Closing.

born2net commented 4 years ago

thank you...