Closed matthewbub closed 3 years ago
I am thinking I can tie User Comments to specific times in the video using the currentTime
from the Video API.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#attr-currentTime
Let's start by getting a watch event on this video e.g video.currentTime
Next let's get the total length of the video as soon as the video loads. ☝️ https://github.com/hi-matbub/video-player-manipulation/commit/22a0ed3a861512514d06a65f66876bc3898aa144
Comments are un styled but are appending accordingly.
Resolved issues with scrubbing by wiping the DOM each time 55dfe444e72868eba9c05cfd67057756ca80f3dc
The closing of #22 also closes this Pull Request 👍