-
Notifications
You must be signed in to change notification settings - Fork 2
[상민] 3-CustomMoviePlayer #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
34f6fe8 to
60fb3df
Compare
chaeiJeon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다~~
| const progress = document.querySelector(".progress"); | ||
| const timestamp = document.querySelector(".timestamp"); | ||
|
|
||
| const PutToPlay = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
성호님 1-FormValidator 코드 리뷰에서 봤는데 함수명에 전치사가 있으면 가독성을 저해한다고 합니다! To를 빼는 방식으로 함수명을 지어 보시는 게 좋을 것 같아요!
| const adjustProgressBar = () => { | ||
| progress.value = (video.currentTime / video.duration) * 100; | ||
|
|
||
| let minutes = String(Math.floor(video.currentTime / 60)).padStart(2, "0"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minutes, seconds가 아래에서 바뀌지 않으니 let보다 const가 좋아보입니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저도 채이랑 같은 의견입니다^_^!b
leehyewon0531
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다~!
| const adjustProgressBar = () => { | ||
| progress.value = (video.currentTime / video.duration) * 100; | ||
|
|
||
| let minutes = String(Math.floor(video.currentTime / 60)).padStart(2, "0"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저도 채이랑 같은 의견입니다^_^!b
No description provided.