An open API service indexing awesome lists of open source software.

https://github.com/bennymeg/ngx-embedded-media

Embed media from from top tier media providers directly in your Angular 6+ application.
https://github.com/bennymeg/ngx-embedded-media

Last synced: 9 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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](https://karma-runner.github.io).
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](https://github.com/angular/angular-cli/blob/master/README.md).
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.4.