Skip to content
This repository was archived by the owner on Feb 10, 2023. It is now read-only.

Commit c561010

Browse files
committed
docs: add gif as fallback for browsers that do not support video
1 parent ae67458 commit c561010

File tree

6 files changed

+5
-0
lines changed

6 files changed

+5
-0
lines changed

β€Žapps/sandbox/src/app/home/home.component.tsβ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ export interface Example {
7777
[src]="example.asset + '.' + source"
7878
[type]="'video/' + source"
7979
/>
80+
<img
81+
class="w-full h-full max-h-48 object-cover"
82+
[src]="example.asset + '.gif'"
83+
[alt]="example.description"
84+
/>
8085
</video>
8186
<div
8287
class="p-6 pt-0 space-y-2 xl:flex xl:items-center xl:justify-between"
1.49 MB
Loading
638 KB
Loading
3.2 MB
Loading
3.43 MB
Loading
1.42 MB
Loading

0 commit comments

Comments
Β (0)