videogular / videogular2

The HTML5 video player for Angular 2
https://videogular.github.io/videogular2-showroom/#/
MIT License
670 stars 211 forks source link

Cannot find name 'AudioTrackList'. && 'VideoTrackList' #909

Open khallad2 opened 4 years ago

khallad2 commented 4 years ago

Description

using "@angular/animations": "8.x.x", "@angular/common": "8.x.x", "@angular/compiler": "8.x.x", "@angular/core": "8.x.x", trying to build the app but i get the following errors.

Expected Behavior

Actual Behavior

[at-loader] Checking finished with 4 errors chunk {0} vendor.js (vendor) 4.06 MB {2} [initial] [rendered] chunk {1} app.js, app.css (app) 3.63 MB {0} [initial] [rendered] chunk {2} polyfills.js (polyfills) 695 kB [entry] [rendered]

ERROR in [at-loader] ./node_modules/videogular2/src/core/vg-media/i-media-element.d.ts:17:27 TS2304: Cannot find name 'AudioTrackList'.

ERROR in [at-loader] ./node_modules/videogular2/src/core/vg-media/i-media-element.d.ts:135:27 TS2304: Cannot find name 'VideoTrackList'.

ERROR in [at-loader] ./node_modules/videogular2/src/core/vg-media/vg-media-element.d.ts:5:27 TS2304: Cannot find name 'AudioTrackList'.

ERROR in [at-loader] ./node_modules/videogular2/src/core/vg-media/vg-media-element.d.ts:42:18 TS2304: Cannot find name 'VideoTrackList'.

Steps to Reproduce

  1. Step 1: npm install
  2. Step 2: npm start
johnjackson commented 3 years ago

see this and this