Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tg666 committed Dec 14, 2023
1 parent 7b048ea commit fbb26b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ $ composer require 68publishers/amp-client

## Versions compatibility matrix

| PHP client version | JS client version | PHP version | AMP version | API version |
|:------------------:|:-----------------:|:------------:|:-----------:|:-----------:|
| `>=1.0.0` | `>=1.4.0` | `>=7.4` | `>=2.12.0` | `1` |
| PHP client version | JS client version | AMP version | API version |
|:------------------:|:-----------------:|:-----------:|:-----------:|
| `~1.0.0` | `~1.4.0` | `2.12.0` | `1` |
| `~1.1.0` | `~1.4.0` | `2.12.0` | `1` |
| `~1.2.0` | `~1.5.0` | `>=2.13.0` | `1` |

## Integration without a framework

Expand Down
2 changes: 2 additions & 0 deletions docs/integration-without-framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ if ($position::ModeEmbed === $position->getMode()) {
}
```

⚠️ Only image banners on `single` and `random` positions are now fully compatible with `embed` mode. Rendering other types via `embed` mode is not recommended.

### Lazy loading of image banners

The default client templates support [native lazy loading](https://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading#images_and_iframes) of images.
Expand Down

0 comments on commit fbb26b0

Please sign in to comment.