Skip to content

Commit 82449bb

Browse files
author
Dima Voytenko
committed
Review comments
1 parent aab0a9e commit 82449bb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

builtins/amp-video.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ One or zero immediate child nodes can have the `fallback` attribute. If present,
3434

3535
For example:
3636
```html
37-
<amp-video width=400 height=300 src="https://yourhost.com/videos/myvideo.mp4">
38-
<amp-img placeholder width=400 height=300 src="myvideo-poster.jpg"></amp-img>
37+
<amp-video width=400 height=300 src="https://yourhost.com/videos/myvideo.mp4"
38+
poster="myvideo-poster.jpg">
3939
<div fallback>
4040
<p>Your browser doesn’t support HTML5 video</p>
4141
</div>

docs/include_features.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ at a time determined by the AMP HTML runtime.
163163
Include a placeholder before the video starts, and a fallback,
164164
if the browser doesn't support HTML5 video, for example:
165165
```html
166-
<amp-video width=400 height=300 src="https://yourhost.com/videos/myvideo.mp4">
167-
<amp-img placeholder width=400 height=300 src="myvideo-poster.jpg"></amp-img>
166+
<amp-video width=400 height=300 src="https://yourhost.com/videos/myvideo.mp4"
167+
poster="myvideo-poster.jpg">
168168
<div fallback>
169169
<p>Your browser doesn’t support HTML5 video</p>
170170
</div>

0 commit comments

Comments
 (0)