1

这里有一个没有拖动功能的简单寻线栏,

                        <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>
4

1 回答 1

1

更新您的代码以使用 vgSlider 属性<vg-scrub-bar-current-time>

<vg-scrub-bar>
  <vg-scrub-bar-current-time [vgSlider]="true"></vg-scrub-bar-current-time>
</vg-scrub-bar>
于 2017-10-30T07:53:59.040 回答