Skip to content

[상민] 3-CustomMoviePlayer#21

Open
4-kira wants to merge 4 commits into
mainfrom
Sangmin/3-CustomVideoPlayer
Open

[상민] 3-CustomMoviePlayer#21
4-kira wants to merge 4 commits into
mainfrom
Sangmin/3-CustomVideoPlayer

Conversation

@4-kira

@4-kira 4-kira commented Apr 3, 2022

Copy link
Copy Markdown
Member

No description provided.

@4-kira 4-kira force-pushed the Sangmin/3-CustomVideoPlayer branch from 34f6fe8 to 60fb3df Compare April 3, 2022 07:15

@chaeiJeon chaeiJeon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

수고하셨습니다~~

Comment thread Sangmin/3/script.js
const progress = document.querySelector(".progress");
const timestamp = document.querySelector(".timestamp");

const PutToPlay = () => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

성호님 1-FormValidator 코드 리뷰에서 봤는데 함수명에 전치사가 있으면 가독성을 저해한다고 합니다! To를 빼는 방식으로 함수명을 지어 보시는 게 좋을 것 같아요!

Comment thread Sangmin/3/script.js
const adjustProgressBar = () => {
progress.value = (video.currentTime / video.duration) * 100;

let minutes = String(Math.floor(video.currentTime / 60)).padStart(2, "0");

Copy link
Copy Markdown
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
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

@leehyewon0531 leehyewon0531 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

수고하셨습니다~!

Comment thread Sangmin/3/script.js
const adjustProgressBar = () => {
progress.value = (video.currentTime / video.duration) * 100;

let minutes = String(Math.floor(video.currentTime / 60)).padStart(2, "0");

Copy link
Copy Markdown
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.

3 participants