Open abgrano opened 5 years ago
Did you manage to solve this?
any updates on this?
ran into same problem
Having this issue as well.
Same here
I think it only occurs when only binding vgHls
but not vgMedia
.
Try this:
<video #media [vgMedia]="media" [vgHls]="source" type="video/mp4"></video>
I think it only occurs when only binding
vgHls
but notvgMedia
.Try this:
<video #media [vgMedia]="media" [vgHls]="source" type="video/mp4"></video>
I had the same problem, but when I bind it with #media [vgMedia]="media" it gives me this error => Type 'HTMLVideoElement' is missing the following properties from type 'IMediaElement': audioTracks, msAudioCategory, msAudioDeviceType, msGraphicsTrustStatus, and 13 more. [vgMedia]="myMedia"
I was seeing this when my component containing my videostream was destroyed. I managed to solve this by setting api.isPlayerReady to false in my ngOnDestroy() function.
Description
ERROR TypeError: Cannot set property 'isLive' of undefined at i. (vg-hls.js:110)
at i.d.emit (hls.min.js:1)
at i.trigger (hls.min.js:1)
at i.s._handlePlaylistLoaded (hls.min.js:1)
at i.s._handleTrackOrLevelPlaylist (hls.min.js:1)
at i.s.loadsuccess (hls.min.js:1)
at e.t.readystatechange (hls.min.js:1)
at XMLHttpRequest.wrapFn (zone-evergreen.js:1191)
at ZoneDelegate.invokeTask (zone-evergreen.js:391)
at Object.onInvokeTask (core.js:34182)