Skip to content

Commit

Permalink
chore: make safari can also see the video
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayvis committed Dec 24, 2023
1 parent 00dacac commit dcb74f5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/blog/throttle-and-debounce/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const result = add.call(obj, 5, 7)

<video style='width: 100%;' autoplay loop muted playsinline>
<source src='../../../src/assets/debounce.webm' type='video/webm' />
<source src='../../../src/assets/debounce.mp4' type='video/mp4' />
</video>

<p style='text-align: center; margin-top: 8px; font-style: italic; font-size: 12px;'><span>Video from: </span><a href='https://www.webdong.dev/post/learn-debounce-and-throttle'>https://www.webdong.dev/post/learn-debounce-and-throttle</a></p>
Expand Down Expand Up @@ -95,6 +96,7 @@ const debouncedExampleFunction = debounce(exampleFunction, 500)

<video style='width: 100%;' autoplay loop muted playsinline>
<source src='../../../src/assets/throttle.webm' type='video/webm' />
<source src='../../../src/assets/throttle.mp4' type='video/mp4' />
</video>

<p style='text-align: center; margin-top: 8px; font-style: italic; font-size: 12px;'><span>Video from: </span><a href='https://www.webdong.dev/post/learn-debounce-and-throttle'>https://www.webdong.dev/post/learn-debounce-and-throttle</a></p>
Expand Down
Binary file added src/assets/debounce.mp4
Binary file not shown.
Binary file added src/assets/throttle.mp4
Binary file not shown.

0 comments on commit dcb74f5

Please sign in to comment.