git clone npm i
npm run build schematics .:videogular-schematics cd your-angular-proyect mkdir node_modules/vgs
copy all file (except node_modules & package-lock.json) into your angular cli project >= 1.5 ( folder node_modules/vgs)
ng g videogular-schematics vgc --vgService --collection vgs
Command | Type | Default | Description |
---|---|---|---|
vgService | Boolean | false | add service |
vgOverlayPlay | Boolean | false | add vg-overlay-play |
vgBuffering | Boolean | false | add vg-buffering |
vgScrubBar | Boolean | false | add vg-scrub-bar |
vgScrubBarCurrentTime | Boolean | false | add vg-scrub-bar-current-time |
vgScrubBarBufferingTime | Boolean | false | add vg-scrub-bar-buffering-time |
vgControls | Boolean | false | add vg-controls |
vgPlayPause | Boolean | false | add vg-play-pause |
vgPlaybackButton | Boolean | false | add vg-playback-button |
vgTimeDisplayCurrent | Boolean | false | add vg-time-display vgProperty: current, vgFormat mm:ss |
vgScrubBarControls | Boolean | false | add vg-scrub-bar |
vgTimeDisplayLeft | Boolean | false | add vg-time-display vgProperty: left, vgFormat mm:ss |
vgTimeDisplayTotal | Boolean | false | add vg-time-display vgProperty: total,vgFormat mm:ss |
vgTrackSelector | Boolean | false | add vg-track-selector |
vgMute | Boolean | false | add vg-mute |
vgVolume | Boolean | false | add vg-volume |
vgFullscreen | Boolean | false | add vg-fullscreen |
video | Boolean | true | add video |
skip | Boolean | false | add skip |
companionAd | Boolean | false | add companionAd |