videogular/videogular2

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

Opened this issue · 1 comments

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

  • it should be built and run normally

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

see this and this