Github Link
Few things I learned in making this video player:
To access the 'data' variables, we use the dataset keyword in JS,
In this case, we used dataset.skip;
We can use textContent property to change what the button reads.
'change' is also an event.
I had to convert the time of the video into a float using parseFloat();
'timeupdate' is an event for video in HTML.
The following events are all small, no caps.
mousedown
mouseup
mousemove
Few things I learned in making this video player:
To access the 'data' variables, we use the dataset keyword in JS,
In this case, we used dataset.skip;
We can use textContent property to change what the button reads.
'change' is also an event.
I had to convert the time of the video into a float using parseFloat();
'timeupdate' is an event for video in HTML.
The following events are all small, no caps.
mousedown
mouseup
mousemove
No comments:
Post a Comment