Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Videogular2 not working with Ionic 2 #252

Closed
gulukul opened this issue Oct 16, 2016 · 1 comment
Closed

Videogular2 not working with Ionic 2 #252

gulukul opened this issue Oct 16, 2016 · 1 comment

Comments

@gulukul
Copy link

gulukul commented Oct 16, 2016

Description

Videogular2 is not working with Ionic 2.

Expected Behavior

The video should run fine.

Actual Behavior

Error: Unexpected value 'VgCore' imported by the module 'AppModule'

Steps to Reproduce

  1. Start any ionic project
  2. Install videogular2: sudo npm install -g videogular2 --save
  3. In app.module.ts:
    Headers:
import { VgCore } from 'videogular2/core';
import { VgControlsModule } from 'videogular2/controls';
import { VgOverlayPlayModule } from 'videogular2/overlay-play';

Then:

@NgModule({
  declarations: [
    ...
  ],
  imports: [
    IonicModule.forRoot(MyApp),
    VgCore,
    VgControlsModule,
    VgOverlayPlayModule
  ],
...
});

Then run the app.

@Elecash
Copy link
Member

Elecash commented Oct 16, 2016

This is a duplicate of #249

@Elecash Elecash closed this as completed Oct 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants