feat: lazy load onboarding videos
This commit is contained in:
BIN
apps/desktop2/public/poster_1.jpeg
Normal file
BIN
apps/desktop2/public/poster_1.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 171 KiB |
BIN
apps/desktop2/public/poster_2.jpeg
Normal file
BIN
apps/desktop2/public/poster_2.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 201 KiB |
BIN
apps/desktop2/public/poster_3.jpeg
Normal file
BIN
apps/desktop2/public/poster_3.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 170 KiB |
BIN
apps/desktop2/public/poster_4.jpeg
Normal file
BIN
apps/desktop2/public/poster_4.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 104 KiB |
@@ -34,6 +34,8 @@ function Screen() {
|
|||||||
className="h-auto w-full aspect-square rounded-lg shadow-md transform"
|
className="h-auto w-full aspect-square rounded-lg shadow-md transform"
|
||||||
controls
|
controls
|
||||||
muted
|
muted
|
||||||
|
preload="none"
|
||||||
|
poster="/poster_1.jpeg"
|
||||||
>
|
>
|
||||||
<source
|
<source
|
||||||
src="https://video.nostr.build/692f71e2be47ecfc29edcbdaa198cc5979bfb9c900f05d78682895dd546d8d4f.mp4"
|
src="https://video.nostr.build/692f71e2be47ecfc29edcbdaa198cc5979bfb9c900f05d78682895dd546d8d4f.mp4"
|
||||||
@@ -55,6 +57,8 @@ function Screen() {
|
|||||||
className="h-auto w-full aspect-square rounded-lg shadow-md transform"
|
className="h-auto w-full aspect-square rounded-lg shadow-md transform"
|
||||||
controls
|
controls
|
||||||
muted
|
muted
|
||||||
|
preload="none"
|
||||||
|
poster="/poster_2.jpeg"
|
||||||
>
|
>
|
||||||
<source
|
<source
|
||||||
src="https://video.nostr.build/d33962520506d86acfb4b55a7b265821e10ae637f5ec830a173b7e6092b16ec8.mp4"
|
src="https://video.nostr.build/d33962520506d86acfb4b55a7b265821e10ae637f5ec830a173b7e6092b16ec8.mp4"
|
||||||
@@ -76,6 +80,8 @@ function Screen() {
|
|||||||
className="h-auto w-full aspect-square rounded-lg shadow-md transform"
|
className="h-auto w-full aspect-square rounded-lg shadow-md transform"
|
||||||
controls
|
controls
|
||||||
muted
|
muted
|
||||||
|
preload="none"
|
||||||
|
poster="/poster_3.jpeg"
|
||||||
>
|
>
|
||||||
<source
|
<source
|
||||||
src="https://video.nostr.build/927abbfde2097e470ac751181b1db456b7e4b9149550408efff1a966a7ffb9a8.mp4"
|
src="https://video.nostr.build/927abbfde2097e470ac751181b1db456b7e4b9149550408efff1a966a7ffb9a8.mp4"
|
||||||
@@ -97,6 +103,8 @@ function Screen() {
|
|||||||
className="h-auto w-full rounded-lg shadow-md transform"
|
className="h-auto w-full rounded-lg shadow-md transform"
|
||||||
controls
|
controls
|
||||||
muted
|
muted
|
||||||
|
preload="none"
|
||||||
|
poster="/poster_4.jpeg"
|
||||||
>
|
>
|
||||||
<source
|
<source
|
||||||
src="https://video.nostr.build/513de4824b6abaf7e9698c1dad2f68096574356848c0c200bc8cb8074df29410.mp4"
|
src="https://video.nostr.build/513de4824b6abaf7e9698c1dad2f68096574356848c0c200bc8cb8074df29410.mp4"
|
||||||
|
|||||||
Reference in New Issue
Block a user