fix: 프레임 정보를 읽는 도중 로딩 모달이 꺼지는 문제 해결 #41
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#️⃣ Issue Number #40
🚅 PR 요약
프레임 정보를 다 불러오기 전에 로딩 모달이 꺼지는 문제 해결
TO-DO 체크리스트
🧑💻 PR 세부 내용
개발 환경과 배포 환경의 네트워크 속도의 차이에서
loadedmetadate의 이벤트가 발생하는 시점의 차이가 있었다.
비디오는 여전히 로딩 중인데 loadedmetadata의 이벤트가
발생해서 반복문이 돌고 로딩 모달이 꺼지는 버그가 생겼다.
📍 레퍼런스
참고자료: https://kasterra.github.io/inconsistent-event-firing-with-html5-video
✅ PR 체크리스트