Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
minikin committed Dec 6, 2024
1 parent e68ff92 commit aa5f0e7
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,15 @@ Use | to separate columns and --- to create headers:
```

**controls**: Show player controls.

**autoplay** (with muted): Play video automatically.

**muted**: Video starts silent.

**loop**: Replay automatically after ending.

**poster**: Image displayed before playback.

**preload** (auto/metadata/none): Hint on how much video to load initially.

full example:
Expand Down Expand Up @@ -158,10 +163,13 @@ full example:
<img src="image.jpg" alt="Description">
```

**alt**: Alternate text for accessibility.
**width** / height: Control display size in pixels.
**title**: Tooltip text on hover.
**loading** (lazy/eager): Control when the image loads.
**alt**: Alternate text for accessibility.

**width** / height: Control display size in pixels.

**title**: Tooltip text on hover.

**loading** (lazy/eager): Control when the image loads.

full example:

Expand All @@ -173,4 +181,4 @@ full example:
height="200"
title="A peaceful mountain view"
loading="lazy">
```
```

0 comments on commit aa5f0e7

Please sign in to comment.