vime-js / vime

Customizable, extensible, accessible and framework agnostic media player. Modern alternative to Video.js and Plyr. Supports HTML5, HLS, Dash, YouTube, Vimeo, Dailymotion...
https://vimejs.com
MIT License
2.75k stars 154 forks source link

Import issue on angular 16 #368

Open IsaacSomething opened 1 year ago

IsaacSomething commented 1 year ago

Getting the issue

Component imports must be standalone components, directives, pipes, or must be NgModules.

when importing import { VimeModule } from '@vime/angular'; for angular 16. I think v16 is forcing all libraries onto ivy with the removal of ngcc There is a mention of it on the update page https://update.angular.io/ but its not much,

Due to the removal of the Angular Compatibility Compiler (ngcc) in v16, 
projects on v16 and later no longer support View Engine libraries.
kadirmaev commented 8 months ago

+1