Skip to content

bennymeg/ngx-embedded-media

Repository files navigation

NGX Embedded Media

Embed media from from top tier media providers directly in your Angular 6+ application. Currently supports YouTube, Vimeo, *Twitch (videos and clips) and Dailymotion. This repository contains an angular library and an angular test application.

Code scaffolding

Run ng generate component component-name --project embedded-media to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project embedded-media.

Note: Don't forget to add --project embedded-media or else it will be added to the default project in your angular.json file.

Build

Run npm run build:lib to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with npm run build:lib, go to the dist folder cd dist/embedded-media and run npm publish.

Testing

Run ng test embedded-media to execute the unit tests via Karma. Run ng serve to serve the test application.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README. This library was generated with Angular CLI version 8.2.4.

About

Embed media from from top tier media providers directly in your Angular 6+ application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published