Skip to content

Commit

Permalink
refactor: rename handlePlayerPlay to handlePlayerPlaying
Browse files Browse the repository at this point in the history
  • Loading branch information
jimchen5209 committed Feb 23, 2025
1 parent 1f46899 commit c0cbf48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/centerBlock/OverlayPlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const handlePlayerLoaded = () => {
}
}
const handlePlayerPlay = () => {
const handlePlayerPlaying = () => {
isBuffering.value = false
isVideoError.value = false
}
Expand Down Expand Up @@ -524,7 +524,7 @@ onUnmounted(() => {
@loadstart="isBuffering = true"
@loadeddata="handlePlayerLoaded"
@waiting="isBuffering = true"
@playing="handlePlayerPlay"
@playing="handlePlayerPlaying"
@error="handlePlayerError"
class="has-full-size"
:src="resource?.isLive ? undefined : resource?.src"
Expand Down

0 comments on commit c0cbf48

Please sign in to comment.