Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Bergehall committed Sep 22, 2016
2 parents 56b1279 + 3420f67 commit 8bbb4c1
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}

.lazyframe{
margin-bottom: 50px;
margin-bottom: 200px;
}
.lazyframe--custom{
background: #bada55;
Expand Down Expand Up @@ -57,27 +57,19 @@
data-thumbnail="http://placekitten.com/500/281">
</div>

<p>Vine video with thumbnail and title from api</p>
<p>Iframe with custom thumbnail and title</p>
<div
class="lazyframe"
data-src="https://vine.co/v/Ml16lZVTTxe"
data-vendor="vine">
</div>

<p>Vine video with custom thumbnail and title</p>
<div
class="lazyframe"
data-src="https://vine.co/v/Ml16lZVTTxe"
data-vendor="vine"
data-title="Custom title"
data-thumbnail="http://placekitten.com/500/500">
class="lazyframe lazyframe--custom"
data-src="https://babeljs.io"
data-title="Something completely different">
</div>

<p>Vine video with custom thumbnail and title</p>
<p>Iframe with custom thumbnail and title that gets executed when in view</p>
<div
class="lazyframe lazyframe--custom"
data-src="https://babeljs.io"
data-title="Something completely different">
data-title="Something completely different"
data-initinview="true">
</div>
</div>
<script type="text/javascript" src="dist/lazyframe.min.js"></script>
Expand Down

0 comments on commit 8bbb4c1

Please sign in to comment.