Closed ghost closed 4 years ago
smart-playlist.component.html
`<vg-player (onPlayerReady)="onPlayerReady($event)">
<vg-buffering></vg-buffering> <vg-controls> <vg-play-pause></vg-play-pause> <vg-scrub-bar> <vg-scrub-bar-current-time></vg-scrub-bar-current-time> <vg-scrub-bar-buffering-time></vg-scrub-bar-buffering-time> </vg-scrub-bar> <vg-time-display vgProperty="left" vgFormat="mm:ss"></vg-time-display> <vg-playback-button></vg-playback-button> <vg-quality-selector *ngIf="bitrates" (onBitrateChange)="setBitrate($event)" [bitrates]="bitrates"> </vg-quality-selector> <vg-mute></vg-mute> <vg-volume></vg-volume> <vg-fullscreen></vg-fullscreen> </vg-controls> <video #media (onGetBitrates)="bitrates = $event" [vgMedia]="media" [vgHls]="currentStream.source" id="singleVideo" preload="auto" crossorigin > </video>
sorry, i was having issues with embedding the code... rewrote this issue with image links to the component .ts and .html - this issue can be deleted.
smart-playlist.component.html
`<vg-player (onPlayerReady)="onPlayerReady($event)">