-
Notifications
You must be signed in to change notification settings - Fork 2
/
example.html
25 lines (25 loc) · 870 Bytes
/
example.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
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>LazyEmbed Example</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="dist/lazyembed.css" />
</head>
<body>
<iframe
width="600"
height="450"
frameborder="0"
data-src="https://www.google.com/maps/embed/v1/place?key={API_KEY}
&q=Space+Needle,Seattle+WA&zoom=13&maptype=roadmap"
data-placeholder="https://maps.googleapis.com/maps/api/staticmap?center=Space+Needle,Seattle+WA&zoom=13&size=600x450&maptype=roadmap&key={API_KEY}"
allowfullscreen
data-lazyembed
></iframe>
<script src="dist/lazyembed.js"></script>
<script>
new LazyEmbed();
</script>
</body>
</html>