Responsive YouTube Video Gallery
Ein einfaches Skript, das es ermöglicht, YouTube-Figs in Form eines Schiebefensters zu verlegen. Erfüllen Sie die Bedingungen responsive Skalierung.
A simple script to embed YouTube videos in a format sliding window. Meets the conditions responsive scaling.
Beispiel/Example
Filme aus dem Kanal PrestaExpert.
Wie zu verwenden / How to use
Die Bibliothek jquery / Required Library jquery ist erforderlich
Im ersten Schritt fügen wir das js- und css-Skript hinzu.
In der ersten Steppe, in den 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" />Im HTML-Code zum Beispiel:
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>Initiieren im Code js
We initiate the js code
<script type="text/javascript">
$(function () {
$('#myVideoSlide').videoOslide();
});
</script>Unterhalb des Download-Skripts Das Skript kann sowohl privat als auch kommerziell verwendet werden.
Wenn du einen Link zu meiner Website platzierst, bin ich dir dankbar, aber er ist nicht obligatorisch.
Die Following-Script für den Download. The script can be used both privatly and commercially.
If you put somewhere a link to my site I would appreciate but it is not mandatory.