Skip to content

Conversation

@dltkdals224
Copy link
Member

No description provided.

@dltkdals224 dltkdals224 force-pushed the Sangmin/3-CustomVideoPlayer branch from 34f6fe8 to 60fb3df Compare April 3, 2022 07:15
Copy link
Contributor

@chaeiJeon chaeiJeon left a 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 = () => {
Copy link
Contributor

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");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minutes, seconds가 아래에서 바뀌지 않으니 let보다 const가 좋아보입니다!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저도 채이랑 같은 의견입니다^_^!b

Copy link
Contributor

@leehyewon0531 leehyewon0531 left a 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");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저도 채이랑 같은 의견입니다^_^!b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants