forked from ampproject/amphtml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvideo-one-page2.html
53 lines (49 loc) · 2.46 KB
/
video-one-page2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!doctype html>
<html ⚡ lang="en">
<head>
<meta charset="utf-8">
<link rel="canonical" href="video-one-page.html">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<script async src="https://cdn.ampproject.org/v0.js"></script>
<title>Single page video story [test]</title>
<script async custom-element="amp-story" src="https://cdn.ampproject.org/v0/amp-story-1.0.js"></script>
<script async custom-element="amp-video" src="https://cdn.ampproject.org/v0/amp-video-0.1.js"></script>
<script async src="https://cdn.ampproject.org/v0/amp-viewer-integration-0.1.js"></script>
<script async custom-element="amp-social-share" src="https://cdn.ampproject.org/v0/amp-social-share-0.1.js"></script>
<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
<style amp-custom>
.story-num {
display: block;
position: absolute;
left: 30px;
top: 30px;
width: 30px;
text-align: center;
font-family: sans-serif;
background-color: white;
border-radius: 50%;
}
</style>
</head>
<body>
<amp-story standalone
id="story2"
title="Key Highlights of AMP Conf 2018" publisher="The AMP team"
publisher-logo-src="./img/AMP-Brand-White-Icon.svg"
poster-portrait-src="./img/overview.jpg">>
<amp-story-page id="page-1">
<amp-story-grid-layer template="fill">
<amp-video autoplay loop
id="video1"
width="400"
height="750"
poster="img-city1.jpeg#1"
layout="fill">
<source src="./video/stamp-animation.mp4" type="video/mp4">
</amp-video>
</amp-story-grid-layer>
<amp-story-grid-layer template="vertical"><span class="story-num">2</span></amp-story-grid-layer>
</amp-story-page>
</amp-story>
</body>
</html>