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.
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 yourangular.json
file.
Run npm run build:lib
to build the project. The build artifacts will be stored in the dist/
directory.
After building your library with npm run build:lib
, go to the dist folder cd dist/embedded-media
and run npm publish
.
Run ng test embedded-media
to execute the unit tests via Karma.
Run ng serve
to serve the test application.
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.