Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubmuda authored Jun 20, 2020
1 parent afd2693 commit 1e4cbbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Attribute | Explanation
``class="vi-lazyload"`` | Main container.<br><br>You can add additional style like `border`, `box-shadow` etc. or Bootstrap classes like `img-thumbnail`, `shadow` etc.
``data-id="272532681"`` | Vimeo video ID
``data-thumb=""`` | If you need to add more thumbnails you can choose which one is displayed. It is usefull for quality specific thumbs (SD, 720p, 1080p) or in case of multiple thumbs random one can be selected.<br><br>Name your files ``272532681.jpg`` and add custom suffix.<br><br>For 3 thumbnails make ``272532681--1.jpg``, ``272532681--2.jpg`` and ``272532681--3.jpg``.<br><br>To show thumbnail 2 use ``data-thumb="--2"`` and so on.<br><br>You can randomize numbers using ``<?php echo mt_rand(1,3);?>``.<br><br>**Leave empty if you have only 1 thumbnail.**
``data-logo="3"`` | Vimeo logo color. You can customize it in CSS.<br><br>Available:<br><br> **0** = none - logo will not be added by JavaScript,<br> **1** = blue,<br> **2** = dark,<br> **3** = white.
``data-logo="3"`` | Vimeo logo color. You can customize it in CSS.<br><br> **0** = none - logo will not be added by JavaScript,<br> **1** = blue,<br> **2** = dark,<br> **3** = white.
********************************************************************************
Expand Down

0 comments on commit 1e4cbbc

Please sign in to comment.