angular2 html 5 audio player ontimeupdate event

后端 未结 2 1882
小鲜肉
小鲜肉 2021-01-28 03:44

I have a simple angular application that has an audio player integrated.

相关标签:
2条回答
  • 2021-01-28 04:05

    Try <audio ... (timeupdate)="updateTime()">

    0 讨论(0)
  • 2021-01-28 04:05

    Not sure what you want, but if it is to update you angular app at each timeupdate, you can accomplish this by calling $scope.$apply() and passing a $scope function.

    0 讨论(0)
提交回复
热议问题