这里有一个简单的线条搜索栏,没有拖动功能,
<vg-scrub-bar>
<vg-scrub-bar-current-time></vg-scrub-bar-current-time>
</vg-scrub-bar>-->
<vg-controls *ngIf="showControlls"
</vg-controls>
<video webkit-playsinline playsinline [vgMedia]="media" poster="assets/blank.png" #media id="singleVideo" preload="auto"
crossorigin (click)="togglePlay();" [src]="src">
</video>
</vg-player>
答案 0 :(得分:0)
更新您的代码以在<vg-scrub-bar-current-time>
<vg-scrub-bar>
<vg-scrub-bar-current-time [vgSlider]="true"></vg-scrub-bar-current-time>
</vg-scrub-bar>