diff --git a/README.md b/README.md index 8a9c56d..d698d39 100644 --- a/README.md +++ b/README.md @@ -164,6 +164,7 @@ The ratio of the lazyframe. Possible values: 16:9, 4:3, 1:1 Set this to true if you want the resource to execute (for example video to play) when the element is in view. ## Changelog +* v1.1.901 betterify example page * v1.1.9 remove gulp and rollup and use webpack instead * use Babel 7 * add changelog to README diff --git a/index.html b/index.html index c5a2703..d5c0460 100644 --- a/index.html +++ b/index.html @@ -1,24 +1,13 @@ + Lazyframe Demo + - -
-

Youtube video with thumbnail and title from API

-
-
- -

Youtube video with custom thumbnail and title

-
-
- -

Vimeo video with thumbnail and title from API

-
-
- -

Vimeo video with custom thumbnail and title

-
-
- -

Iframe with custom theme and title

-
-
- -

Google maps iframe with custom thumbnail and title that gets executed when in view

-
-
-
+ + + +
+ + +
+
+

Lazyframe

+

Dependency-free library for lazyloading iframes

+

https://github.com/vb/lazyframe

+
+
+ + + +
+

What does it do? It turns blue.

+

Lazyframe creates a responsive placeholder for embedded content and only + requests it when the user + interacts with + it. This decreases the page load and idle time. Lazyframe comes with brand-like themes for YouTube, Vimeo and + Vine.

+

Why?

+

Because the JavaScript loaded from the external providers is big and + takes much time to load. This + slows down your site, even if your visitors don't want to see your beautiful videos. +

+

For example here are the number of requests and filesizes of some well-known services.

+ + +
+ + +
+

Examples

+ +
+
+
+
+
+

Embed YouTube video with thumbnail and title from + API +

+

This demo only works at https://vb.github.io/lazyframe/, so we have to wait, until this is merged into + the + master repo

+
+
+ +
+
+
+
+ +

Embed YouTube video with custom preview image + and + custom title +

+ +
+
+
+
+
+
+
+
+
+

Embed Vimeo video with thumbnail and title from + API +

+
+ +
+
+
+
+

Embed Vimeo video with custom thumbnail and + title +

+
+
+
+ +
+
+
+
+
+
+

Custom Iframe +

+
+ +
+
+
+
+
+

Google maps iframe with custom thumbnail and + title that gets executed when in view +

+

This demo only works at https://vb.github.io/lazyframe/, so we + have + to wait, until this is merged into the + master repo +

+
+
+
+
+
+ + +
+
+

Lazyframe is small, beautiful and easy to + apply. + My website loads now much faster. Thank you very much for creating this impressive script!” +

+

Random guy

+

on the internet

+
+ + +
+ + + +
+
+

Need Help? Found a bug?

+

File an issue on GitHub

+ https://github.com/vb/lazyframe/issues +
+
+ + + + +
+ + + - + + \ No newline at end of file diff --git a/package.json b/package.json index ccb7eed..fa522e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lazyframe", - "version": "1.1.9", + "version": "1.1.901", "description": "Dependency-free library for lazyloading iframes", "main": "dist/lazyframe.min.js", "jsnext:main": "src/lazyframe.js",