Skip to content

Commit

Permalink
chore: 移除 demo 中的 codec 标记
Browse files Browse the repository at this point in the history
  • Loading branch information
hughfenghen committed Nov 21, 2023
1 parent 32d0832 commit ca206d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions packages/av-cliper/demo/decode-media.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
<label for="16kHz-1chan.mp3">16kHz-1chan.mp3</label>
<hr>
<button id="decode-video">video decode</button>
<input id="bunny-avc.mp4" type="radio" name="video-type" value="bunny-avc.mp4" checked>
<label for="bunny-avc.mp4">bunny-avc.mp4</label>
<input id="bear-vp9.mp4" type="radio" name="video-type" value="bear-vp9.mp4">
<label for="bear-vp9.mp4">bear-vp9.mp4</label> |
<input id="bunny.mp4" type="radio" name="video-type" value="bunny.mp4" checked>
<label for="bunny.mp4">bunny.mp4</label>
<input id="bear.mp4" type="radio" name="video-type" value="bear.mp4">
<label for="bear.mp4">bear.mp4</label> |
<input id="max-rate" type="radio" name="playrate" value="fastest" checked>
<label for="max-rate">Fastest decode</label>
<input id="playrate-3" type="radio" name="playrate" value="3">
Expand Down
4 changes: 2 additions & 2 deletions packages/av-cliper/demo/decode-media.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ document.querySelector('#decode-audio')?.addEventListener('click', () => {
})

const videos = {
'bunny-avc.mp4': './public/video/bunny-avc.mp4',
'bear-vp9.mp4': './public/video/bear-vp9.mp4'
'bunny.mp4': './public/video/bunny-avc.mp4',
'bear.mp4': './public/video/bear-vp9.mp4'
}
document.querySelector('#decode-video')?.addEventListener('click', () => {
; (async () => {
Expand Down

0 comments on commit ca206d4

Please sign in to comment.