@ionic-native/streaming-media


#1

Hi,
I would like to use @ionic-native/streaming-media but I always get a blank screen.
Logs : uncaught (in promise): Error: no provider for StreamingMedia!

Could you help me ?
Regards,
Philippe


#2

Did you import the plugin in your app.module.ts file? I think you forgot it :wink:

...

import { StreamingMedia } from '@ionic-native/streaming-media';

...

@NgModule({
  ...

  providers: [
    ...
    StreamingMedia
    ...
  ]
  ...
})
export class AppModule { }

#3

Hi LoLStats
It works !
Thanks!