Skip to content

Commit

Permalink
docs: video assets public path update
Browse files Browse the repository at this point in the history
  • Loading branch information
vortesnail committed Sep 23, 2024
1 parent fc25b68 commit 2f8b9cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions website/docs/.vitepress/theme/components/Demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const initPlayer = () => {
checkedItem.checked = true
item.dom?.classList.add('qier-player_controller_quantity_item--active')
this.btn.textContent = item.label
player.video.src = `/test-video_${item.id}.mp4`
player.video.src = `/qier-player/test-video_${item.id}.mp4`
}
}
})
Expand All @@ -181,7 +181,7 @@ const initPlayer = () => {
}
player.value = new PlayerClass.value({
src: '/test-video_1080p.mp4',
src: '/qier-player/test-video_1080p.mp4',
menus: ['loop', pip, screenshot],
controller: {
progress: ['progress'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ const initPlayer = () => {
checkedItem.checked = true
item.dom?.classList.add('qier-player_controller_quantity_item--active')
this.btn.textContent = item.label
player.video.src = `/test-video_${item.id}.mp4`
player.video.src = `/qier-player/test-video_${item.id}.mp4`
}
}
})
Expand All @@ -176,7 +176,7 @@ const initPlayer = () => {
}
player.value = new Player({
src: '/test-video_1080p.mp4',
src: '/qier-player/test-video_1080p.mp4',
menus: ['loop', pip, screenshot],
controller: {
progress: ['progress'],
Expand Down

0 comments on commit 2f8b9cf

Please sign in to comment.