Closed BNRao closed 4 years ago
feature request
I need to get the time where I stopped the video
Providing a StackBlitz reproduction is the best way to share your issue. StackBlitz starter: https://goo.gl/wwnhMV
Requirement for my project
Angular 7
The following will set the video time to a typescript variable: currentTime: number
currentTime: number
<mat-video [src]="src" [(time)]="currentTime"></mat-video>
When you stop the video, just check the value of currentTime
currentTime
Closing.
PLEASE FILL THIS OUT IF YOU WANT HELP WITH AN ISSUE!
Bug, feature request, or proposal:
feature request
What is the current behavior?
What is the expected behavior?
I need to get the time where I stopped the video
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
What is the use-case or motivation for changing an existing behavior?
Requirement for my project
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 7
Is there anything else I should know?