Closed rajatsehgal2010 closed 5 years ago
I was able to change the src of the video dynamically via template binding as well as through the API, and did not get this error. Considering it is a renderer error, it is likely this could be an issue unrelated to mat-video itself.
The limited information you provided is not enough for me to fully diagnose the issue. Provide more information if you want this reopened.
Closing.
ERROR TypeError: this._renderer.addClass is not a function at MatSliderProgressBarComponent.set [as color] (core.es5.js:272) at MatSliderProgressBarComponent.class_1 [as constructor] (core.es5.js:253) at MatSliderProgressBarComponent.MatSlider [as constructor] (slider.es5.js:84) at new MatSliderProgressBarComponent (mat-video.js:331) at createClass (core.es5.js:10922) at createDirectiveInstance (core.es5.js:10751) at createViewNodes (core.es5.js:12192) at callViewAction (core.es5.js:12622) at execComponentViewsAction (core.es5.js:12531) at createViewNodes (core.es5.js:12220)