Responsive YouTube Video Gallery
A simple script that allows you to plant your videos from YouTube in the form of a sliding window. It meets the conditions. responsive scaling.
A simple script to embed YouTube videos in a format sliding window. Meets the conditions responsive scale.
Example/Example
Channel videos PrestaExpert.
How to use / How to use
Jquery / Required library jquery is required
In the first step we attach the script js and css.
In the first step, we attach the script js and css.
<script src="jq.video.slider.js"></script>
<link rel="stylesheet" type="text/css" href="jq.video.slider.css" media="screen" />In HTML code, for example:
In the HTML code for example:
<div id="myVideoSlide">
<div class="videoitem"><iframe width="560" height="315" src="https://www.youtube.com/embed/3KTm3b0vI-Q" title="PrestaShop Product Video Module | Filmy w galerii produktów | Video Gallery Pro" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe><div class="desc_vs">PrestaShop Product Video Module | Filmy w galerii produktów | Video Gallery Pro</div></div>
<div class="videoitem"><iframe width="560" height="315" src="https://www.youtube.com/embed/9zaITkr36O0" title="Moduł wideo do galerii produktu PrestaShop – Cool Video" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe><div class="desc_vs">Moduł wideo do galerii produktu PrestaShop – Cool Video</div></div>
<div class="videoitem"><iframe width="560" height="315" src="https://www.youtube.com/embed/x4DJYFnWVC4" title="Cool News – Professional News System for PrestaShop 1.7, 8.x, 9.x" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe><div class="desc_vs">Cool News – Professional News System for PrestaShop 1.7, 8.x, 9.x</div></div>
<div class="videoitem"><iframe width="560" height="315" src="https://www.youtube.com/embed/GD_CD4jpABE" title="PrestaExpert.pl - Tworzenie Sklepów PrestaShop na Miarę Twoich Potrzeb." frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe><div class="desc_vs">PrestaExpert.pl - Tworzenie Sklepów PrestaShop na Miarę Twoich Potrzeb.</div></div>
</div>Initiate in code js
We initiated the js code
<script type="text/javascript">
$(function () {
$('#myVideoSlide').videoOslide();
});
</script>Below the download script. The script can be used both privately and commercially.
If you put a link to my website somewhere, I'll be grateful but it's not mandatory.
The following script for download. The script can be used both privately and commercially.
If you put somewhere a link to my site I would appreciate but it is not ticketory.