<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
  img {
    max-width: 100%;
    height: auto;
  }
  p.details {
    font-style:italic;
    color:#777
  }
  .footer p {
    font-size:small;
    color:#777
  }
  pre.commit-message {
    white-space: pre-wrap;
  }
  .file-stats a {
    text-decoration: none;
  }
  .file-stats .new-file {
    color: #090;
  }
  .file-stats .deleted-file {
    color: #B00;
  }
</style>
<body>
<div class='content'>
<h3>Jean-Baptiste Kempf pushed to branch master at <a href="https://code.videolan.org/VideoLAN.org/websites">VideoLAN organization / websites</a></h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://code.videolan.org/VideoLAN.org/websites/commit/e8ddca605a4c69f42d7a0f5dfb56713fe7fb558d">e8ddca60</a></strong>
<div>
<span>by David Loiret</span>
<i>at 2016-01-19T23:03:58Z</i>
</div>
<pre class='commit-message'>carousel: fix display of portrait images

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org></pre>
</li>
<li>
<strong><a href="https://code.videolan.org/VideoLAN.org/websites/commit/d63f68e1405dadc19078df73eb30bd46c2c043e8">d63f68e1</a></strong>
<div>
<span>by David Loiret</span>
<i>at 2016-01-19T23:03:58Z</i>
</div>
<pre class='commit-message'>carousel: add drawScreenshots function

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org></pre>
</li>
<li>
<strong><a href="https://code.videolan.org/VideoLAN.org/websites/commit/96da3fd3740569ef3de4285e3abf7d63e7a1dd25">96da3fd3</a></strong>
<div>
<span>by David Loiret</span>
<i>at 2016-01-19T23:03:58Z</i>
</div>
<pre class='commit-message'>Use drawScreenshots function in download pages

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org></pre>
</li>
</ul>
<h4>18 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
www.videolan.org/include/os-specific.php
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
www.videolan.org/style/slick-theme.scss
</a>
</li>
<li class='file-stats'>
<a href='#diff-2'>
www.videolan.org/vlc/download-altlinux.php
</a>
</li>
<li class='file-stats'>
<a href='#diff-3'>
www.videolan.org/vlc/download-android.php
</a>
</li>
<li class='file-stats'>
<a href='#diff-4'>
www.videolan.org/vlc/download-appletv.php
</a>
</li>
<li class='file-stats'>
<a href='#diff-5'>
www.videolan.org/vlc/download-archlinux.php
</a>
</li>
<li class='file-stats'>
<a href='#diff-6'>
www.videolan.org/vlc/download-chromeos.php
</a>
</li>
<li class='file-stats'>
<a href='#diff-7'>
www.videolan.org/vlc/download-debian.php
</a>
</li>
<li class='file-stats'>
<a href='#diff-8'>
www.videolan.org/vlc/download-fedora.php
</a>
</li>
<li class='file-stats'>
<a href='#diff-9'>
www.videolan.org/vlc/download-freebsd.php
</a>
</li>
<li class='file-stats'>
<a href='#diff-10'>
www.videolan.org/vlc/download-gentoo.php
</a>
</li>
<li class='file-stats'>
<a href='#diff-11'>
www.videolan.org/vlc/download-ios.php
</a>
</li>
<li class='file-stats'>
<a href='#diff-12'>
www.videolan.org/vlc/download-redhat.php
</a>
</li>
<li class='file-stats'>
<a href='#diff-13'>
www.videolan.org/vlc/download-slackware.php
</a>
</li>
<li class='file-stats'>
<a href='#diff-14'>
www.videolan.org/vlc/download-suse.php
</a>
</li>
<li class='file-stats'>
<a href='#diff-15'>
www.videolan.org/vlc/download-ubuntu.php
</a>
</li>
<li class='file-stats'>
<a href='#diff-16'>
www.videolan.org/vlc/download-windowsphone.php
</a>
</li>
<li class='file-stats'>
<a href='#diff-17'>
www.videolan.org/vlc/download-winrt.php
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-0'>
<strong>
www.videolan.org/include/os-specific.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/include/os-specific.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/include/os-specific.php
</span><span style="color: #aaaaaa">@@ -523,6 +523,33 @@ function getScreenshots($os) {
</span>     return isset($screenshots[$os]) ? $screenshots[$os] : null;
 }
 
<span style="color: #000000;background-color: #ddffdd">+function getImageOrientation($imgPath) {
+    $aspect = 'landscape';
+    if (substr($imgPath, 0, 4) != "http" && substr($imgPath, 0, 2) == '//') {
+        $imgPath = 'http:'.$imgPath;
+    }
+    $size = getimagesize($imgPath);
+    if ($size[0] < $size[1]) {
+        $aspect = 'portrait';
+    }
+    return $aspect;
+}
+
+function drawScreenshots($screenshots) {
+    echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
+    $first = true;
+    foreach($screenshots as $screenshot) {
+        $src = $first ? $screenshot['src'] : '';
+        $srcLazy = $first ? '' : $screenshot['src'];
+        $dom  = '<div class="screenshot2 '.getImageOrientation($screenshot['src']).'">';
+        $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
+        $dom .= '</div>';
+        echo $dom;
+        $first = false;
+    }
+    echo '</div></div>';
+}
+
</span> /*
 * Draw the download section.
 * If a OS is given it will draw a carousel of screenshots instead of a VLC icon.
<span style="color: #aaaaaa">@@ -546,18 +573,7 @@ function drawVLCdownloadSection($os = null, $dropdownItems = null, $displayMainO
</span>             </div>
             <?php
             } else {
<span style="color: #000000;background-color: #ffdddd">-                echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
-                $first = true;
-                foreach($screenshots as $screenshot) {
-                    $src = $first ? $screenshot['src'] : '';
-                    $srcLazy = $first ? '' : $screenshot['src'];
-                    $dom  = '<div class="screenshot2">';
-                    $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'"/>';
-                    $dom .= '</div>';
-                    echo $dom;
-                    $first = false;
-                }
-                echo '</div></div>';
</span><span style="color: #000000;background-color: #ddffdd">+                drawScreenshots($screenshots);
</span>             }
             ?>
             <div class="v-align <?php echo is_null($screenshots) ? 'col-sm-7' : 'col-sm-5'?>">
</code></pre>

<br>
</li>
<li id='diff-1'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-1'>
<strong>
www.videolan.org/style/slick-theme.scss
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/style/slick-theme.scss
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/style/slick-theme.scss
</span><span style="color: #aaaaaa">@@ -80,6 +80,10 @@ $bg-color-hover: rgba(0, 0, 0, 0.4);
</span>     @include aspect-ratio(16, 9);
 }
 
<span style="color: #000000;background-color: #ddffdd">+#header-carousel .screenshot2.portrait img {
+    max-height: 100%;
+}
+
</span> #header-carousel img {
     text-align: center;
     max-width: 100%;
</code></pre>

<br>
</li>
<li id='diff-2'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-2'>
<strong>
www.videolan.org/vlc/download-altlinux.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/vlc/download-altlinux.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/vlc/download-altlinux.php
</span><span style="color: #aaaaaa">@@ -19,20 +19,7 @@
</span>   ?>
     <section class="download-wrapper">
         <div class="row reorder-xs">
<span style="color: #000000;background-color: #ffdddd">-            <?php
-                echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
-                $first = true;
-                foreach($screenshots as $screenshot) {
-                    $src = $first ? $screenshot['src'] : '';
-                    $srcLazy = $first ? '' : $screenshot['src'];
-                    $dom  = '<div class="screenshot2">';
-                    $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
-                    $dom .= '</div>';
-                    echo $dom;
-                    $first = false;
-                }
-                echo '</div></div>';
-            ?>
</span><span style="color: #000000;background-color: #ddffdd">+            <?php drawScreenshots($screenshots); ?>
</span>             <div class="v-align col-sm-5">
                 <div class="center-font-xs">
                     <?php image('largeVLC.png', 'Large Orange VLC media player Traffic Cone Logo', 'big-vlc-img img-responsive visible-xs-inline-block v-align'); ?>
</code></pre>

<br>
</li>
<li id='diff-3'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-3'>
<strong>
www.videolan.org/vlc/download-android.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/vlc/download-android.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/vlc/download-android.php
</span><span style="color: #aaaaaa">@@ -19,20 +19,7 @@
</span>   ?>
     <section class="download-wrapper">
         <div class="row reorder-xs">
<span style="color: #000000;background-color: #ffdddd">-            <?php
-                echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
-                $first = true;
-                foreach($screenshots as $screenshot) {
-                    $src = $first ? $screenshot['src'] : '';
-                    $srcLazy = $first ? '' : $screenshot['src'];
-                    $dom  = '<div class="screenshot2">';
-                    $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
-                    $dom .= '</div>';
-                    echo $dom;
-                    $first = false;
-                }
-                echo '</div></div>';
-            ?>
</span><span style="color: #000000;background-color: #ddffdd">+            <?php drawScreenshots($screenshots); ?>
</span>             <div class="v-align col-sm-5">
                 <div class="center-font-xs">
                     <?php image('largeVLC.png', 'Large Orange VLC media player Traffic Cone Logo', 'big-vlc-img img-responsive visible-xs-inline-block v-align'); ?>
</code></pre>

<br>
</li>
<li id='diff-4'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-4'>
<strong>
www.videolan.org/vlc/download-appletv.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/vlc/download-appletv.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/vlc/download-appletv.php
</span><span style="color: #aaaaaa">@@ -19,20 +19,7 @@
</span>     ?>
     <section class="download-wrapper">
         <div class="row reorder-xs">
<span style="color: #000000;background-color: #ffdddd">-            <?php
-                echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
-                $first = true;
-                foreach($screenshots as $screenshot) {
-                    $src = $first ? $screenshot['src'] : '';
-                    $srcLazy = $first ? '' : $screenshot['src'];
-                    $dom  = '<div class="screenshot2">';
-                    $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
-                    $dom .= '</div>';
-                    echo $dom;
-                    $first = false;
-                }
-                echo '</div></div>';
-            ?>
</span><span style="color: #000000;background-color: #ddffdd">+            <?php drawScreenshots($screenshots); ?>
</span>             <div class="v-align col-sm-5">
                 <div class="center-font-xs">
                     <?php image('largeVLC.png', 'Large Orange VLC media player Traffic Cone Logo', 'big-vlc-img img-responsive visible-xs-inline-block v-align'); ?>
</code></pre>

<br>
</li>
<li id='diff-5'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-5'>
<strong>
www.videolan.org/vlc/download-archlinux.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/vlc/download-archlinux.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/vlc/download-archlinux.php
</span><span style="color: #aaaaaa">@@ -19,20 +19,7 @@
</span>   ?>
     <section class="download-wrapper">
         <div class="row reorder-xs">
<span style="color: #000000;background-color: #ffdddd">-            <?php
-                echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
-                $first = true;
-                foreach($screenshots as $screenshot) {
-                    $src = $first ? $screenshot['src'] : '';
-                    $srcLazy = $first ? '' : $screenshot['src'];
-                    $dom  = '<div class="screenshot2">';
-                    $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
-                    $dom .= '</div>';
-                    echo $dom;
-                    $first = false;
-                }
-                echo '</div></div>';
-            ?>
</span><span style="color: #000000;background-color: #ddffdd">+            <?php drawScreenshots($screenshots); ?>
</span>             <div class="v-align col-sm-5">
                 <div class="center-font-xs">
                     <?php image('largeVLC.png', 'Large Orange VLC media player Traffic Cone Logo', 'big-vlc-img img-responsive visible-xs-inline-block v-align'); ?>
</code></pre>

<br>
</li>
<li id='diff-6'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-6'>
<strong>
www.videolan.org/vlc/download-chromeos.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/vlc/download-chromeos.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/vlc/download-chromeos.php
</span><span style="color: #aaaaaa">@@ -19,20 +19,7 @@
</span>     ?>
     <section class="download-wrapper">
         <div class="row reorder-xs">
<span style="color: #000000;background-color: #ffdddd">-            <?php
-                echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
-                $first = true;
-                foreach($screenshots as $screenshot) {
-                    $src = $first ? $screenshot['src'] : '';
-                    $srcLazy = $first ? '' : $screenshot['src'];
-                    $dom  = '<div class="screenshot2">';
-                    $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
-                    $dom .= '</div>';
-                    echo $dom;
-                    $first = false;
-                }
-                echo '</div></div>';
-            ?>
</span><span style="color: #000000;background-color: #ddffdd">+            <?php drawScreenshots($screenshots); ?>
</span>             <div class="v-align col-sm-5">
                 <div class="center-font-xs">
                     <?php image('largeVLC.png', 'Large Orange VLC media player Traffic Cone Logo', 'big-vlc-img img-responsive visible-xs-inline-block v-align'); ?>
</code></pre>

<br>
</li>
<li id='diff-7'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-7'>
<strong>
www.videolan.org/vlc/download-debian.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/vlc/download-debian.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/vlc/download-debian.php
</span><span style="color: #aaaaaa">@@ -19,20 +19,7 @@
</span>   ?>
     <section class="download-wrapper">
         <div class="row reorder-xs">
<span style="color: #000000;background-color: #ffdddd">-            <?php
-                echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
-                $first = true;
-                foreach($screenshots as $screenshot) {
-                    $src = $first ? $screenshot['src'] : '';
-                    $srcLazy = $first ? '' : $screenshot['src'];
-                    $dom  = '<div class="screenshot2">';
-                    $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
-                    $dom .= '</div>';
-                    echo $dom;
-                    $first = false;
-                }
-                echo '</div></div>';
-            ?>
</span><span style="color: #000000;background-color: #ddffdd">+            <?php drawScreenshots($screenshots); ?>
</span>             <div class="v-align col-sm-5">
                 <div class="center-font-xs">
                     <?php image('largeVLC.png', 'Large Orange VLC media player Traffic Cone Logo', 'big-vlc-img img-responsive visible-xs-inline-block v-align'); ?>
</code></pre>

<br>
</li>
<li id='diff-8'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-8'>
<strong>
www.videolan.org/vlc/download-fedora.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/vlc/download-fedora.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/vlc/download-fedora.php
</span><span style="color: #aaaaaa">@@ -19,20 +19,7 @@
</span>   ?>
     <section class="download-wrapper">
         <div class="row reorder-xs">
<span style="color: #000000;background-color: #ffdddd">-            <?php
-                echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
-                $first = true;
-                foreach($screenshots as $screenshot) {
-                    $src = $first ? $screenshot['src'] : '';
-                    $srcLazy = $first ? '' : $screenshot['src'];
-                    $dom  = '<div class="screenshot2">';
-                    $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
-                    $dom .= '</div>';
-                    echo $dom;
-                    $first = false;
-                }
-                echo '</div></div>';
-            ?>
</span><span style="color: #000000;background-color: #ddffdd">+            <?php drawScreenshots($screenshots); ?>
</span>             <div class="v-align col-sm-5">
                 <div class="center-font-xs">
                     <?php image('largeVLC.png', 'Large Orange VLC media player Traffic Cone Logo', 'big-vlc-img img-responsive visible-xs-inline-block v-align'); ?>
</code></pre>

<br>
</li>
<li id='diff-9'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-9'>
<strong>
www.videolan.org/vlc/download-freebsd.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/vlc/download-freebsd.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/vlc/download-freebsd.php
</span><span style="color: #aaaaaa">@@ -19,20 +19,7 @@
</span>   ?>
     <section class="download-wrapper">
         <div class="row reorder-xs">
<span style="color: #000000;background-color: #ffdddd">-            <?php
-                echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
-                $first = true;
-                foreach($screenshots as $screenshot) {
-                    $src = $first ? $screenshot['src'] : '';
-                    $srcLazy = $first ? '' : $screenshot['src'];
-                    $dom  = '<div class="screenshot2">';
-                    $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
-                    $dom .= '</div>';
-                    echo $dom;
-                    $first = false;
-                }
-                echo '</div></div>';
-            ?>
</span><span style="color: #000000;background-color: #ddffdd">+            <?php drawScreenshots($screenshots); ?>
</span>             <div class="v-align col-sm-5">
                 <div class="center-font-xs">
                     <?php image('largeVLC.png', 'Large Orange VLC media player Traffic Cone Logo', 'big-vlc-img img-responsive visible-xs-inline-block v-align'); ?>
</code></pre>

<br>
</li>
<li id='diff-10'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-10'>
<strong>
www.videolan.org/vlc/download-gentoo.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/vlc/download-gentoo.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/vlc/download-gentoo.php
</span><span style="color: #aaaaaa">@@ -19,20 +19,7 @@
</span>   ?>
     <section class="download-wrapper">
         <div class="row reorder-xs">
<span style="color: #000000;background-color: #ffdddd">-            <?php
-                echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
-                $first = true;
-                foreach($screenshots as $screenshot) {
-                    $src = $first ? $screenshot['src'] : '';
-                    $srcLazy = $first ? '' : $screenshot['src'];
-                    $dom  = '<div class="screenshot2">';
-                    $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
-                    $dom .= '</div>';
-                    echo $dom;
-                    $first = false;
-                }
-                echo '</div></div>';
-            ?>
</span><span style="color: #000000;background-color: #ddffdd">+            <?php drawScreenshots($screenshots); ?>
</span>             <div class="v-align col-sm-5">
                 <div class="center-font-xs">
                     <?php image('largeVLC.png', 'Large Orange VLC media player Traffic Cone Logo', 'big-vlc-img img-responsive visible-xs-inline-block v-align'); ?>
</code></pre>

<br>
</li>
<li id='diff-11'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-11'>
<strong>
www.videolan.org/vlc/download-ios.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/vlc/download-ios.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/vlc/download-ios.php
</span><span style="color: #aaaaaa">@@ -21,20 +21,7 @@
</span>   ?>
     <section class="download-wrapper">
         <div class="row reorder-xs">
<span style="color: #000000;background-color: #ffdddd">-            <?php
-                echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
-                $first = true;
-                foreach($screenshots as $screenshot) {
-                    $src = $first ? $screenshot['src'] : '';
-                    $srcLazy = $first ? '' : $screenshot['src'];
-                    $dom  = '<div class="screenshot2">';
-                    $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
-                    $dom .= '</div>';
-                    echo $dom;
-                    $first = false;
-                }
-                echo '</div></div>';
-            ?>
</span><span style="color: #000000;background-color: #ddffdd">+            <?php drawScreenshots($screenshots); ?>
</span>             <div class="v-align col-sm-5">
                 <div class="center-font-xs">
                     <?php image('largeVLC.png', 'Large Orange VLC media player Traffic Cone Logo', 'big-vlc-img img-responsive visible-xs-inline-block v-align'); ?>
</code></pre>

<br>
</li>
<li id='diff-12'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-12'>
<strong>
www.videolan.org/vlc/download-redhat.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/vlc/download-redhat.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/vlc/download-redhat.php
</span><span style="color: #aaaaaa">@@ -19,20 +19,7 @@
</span>   ?>
     <section class="download-wrapper">
         <div class="row reorder-xs">
<span style="color: #000000;background-color: #ffdddd">-            <?php
-                echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
-                $first = true;
-                foreach($screenshots as $screenshot) {
-                    $src = $first ? $screenshot['src'] : '';
-                    $srcLazy = $first ? '' : $screenshot['src'];
-                    $dom  = '<div class="screenshot2">';
-                    $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
-                    $dom .= '</div>';
-                    echo $dom;
-                    $first = false;
-                }
-                echo '</div></div>';
-            ?>
</span><span style="color: #000000;background-color: #ddffdd">+            <?php drawScreenshots($screenshots); ?>
</span>             <div class="v-align col-sm-5">
                 <div class="center-font-xs">
                     <?php image('largeVLC.png', 'Large Orange VLC media player Traffic Cone Logo', 'big-vlc-img img-responsive visible-xs-inline-block v-align'); ?>
</code></pre>

<br>
</li>
<li id='diff-13'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-13'>
<strong>
www.videolan.org/vlc/download-slackware.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/vlc/download-slackware.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/vlc/download-slackware.php
</span><span style="color: #aaaaaa">@@ -19,20 +19,7 @@
</span>   ?>
     <section class="download-wrapper">
         <div class="row reorder-xs">
<span style="color: #000000;background-color: #ffdddd">-            <?php
-                echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
-                $first = true;
-                foreach($screenshots as $screenshot) {
-                    $src = $first ? $screenshot['src'] : '';
-                    $srcLazy = $first ? '' : $screenshot['src'];
-                    $dom  = '<div class="screenshot2">';
-                    $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
-                    $dom .= '</div>';
-                    echo $dom;
-                    $first = false;
-                }
-                echo '</div></div>';
-            ?>
</span><span style="color: #000000;background-color: #ddffdd">+            <?php drawScreenshots($screenshots); ?>
</span>             <div class="v-align col-sm-5">
                 <div class="center-font-xs">
                     <?php image('largeVLC.png', 'Large Orange VLC media player Traffic Cone Logo', 'big-vlc-img img-responsive visible-xs-inline-block v-align'); ?>
</code></pre>

<br>
</li>
<li id='diff-14'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-14'>
<strong>
www.videolan.org/vlc/download-suse.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/vlc/download-suse.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/vlc/download-suse.php
</span><span style="color: #aaaaaa">@@ -19,20 +19,7 @@
</span>   ?>
     <section class="download-wrapper">
         <div class="row reorder-xs">
<span style="color: #000000;background-color: #ffdddd">-            <?php
-                echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
-                $first = true;
-                foreach($screenshots as $screenshot) {
-                    $src = $first ? $screenshot['src'] : '';
-                    $srcLazy = $first ? '' : $screenshot['src'];
-                    $dom  = '<div class="screenshot2">';
-                    $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
-                    $dom .= '</div>';
-                    echo $dom;
-                    $first = false;
-                }
-                echo '</div></div>';
-            ?>
</span><span style="color: #000000;background-color: #ddffdd">+            <?php drawScreenshots($screenshots); ?>
</span>             <div class="v-align col-sm-5">
                 <div class="center-font-xs">
                     <?php image('largeVLC.png', 'Large Orange VLC media player Traffic Cone Logo', 'big-vlc-img img-responsive visible-xs-inline-block v-align'); ?>
</code></pre>

<br>
</li>
<li id='diff-15'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-15'>
<strong>
www.videolan.org/vlc/download-ubuntu.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/vlc/download-ubuntu.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/vlc/download-ubuntu.php
</span><span style="color: #aaaaaa">@@ -20,18 +20,7 @@
</span>     <section class="download-wrapper">
         <div class="row reorder-xs">
             <?php
<span style="color: #000000;background-color: #ffdddd">-                echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
-                $first = true;
-                foreach($screenshots as $screenshot) {
-                    $src = $first ? $screenshot['src'] : '';
-                    $srcLazy = $first ? '' : $screenshot['src'];
-                    $dom  = '<div class="screenshot2">';
-                    $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
-                    $dom .= '</div>';
-                    echo $dom;
-                    $first = false;
-                }
-                echo '</div></div>';
</span><span style="color: #000000;background-color: #ddffdd">+                drawScreenshots($screenshots);
</span>             ?>
             <div class="v-align col-sm-5">
                 <div class="center-font-xs">
</code></pre>

<br>
</li>
<li id='diff-16'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-16'>
<strong>
www.videolan.org/vlc/download-windowsphone.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/vlc/download-windowsphone.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/vlc/download-windowsphone.php
</span><span style="color: #aaaaaa">@@ -19,20 +19,7 @@
</span>     ?>
     <section class="download-wrapper">
         <div class="row reorder-xs">
<span style="color: #000000;background-color: #ffdddd">-            <?php
-                echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
-                $first = true;
-                foreach($screenshots as $screenshot) {
-                    $src = $first ? $screenshot['src'] : '';
-                    $srcLazy = $first ? '' : $screenshot['src'];
-                    $dom  = '<div class="screenshot2">';
-                    $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
-                    $dom .= '</div>';
-                    echo $dom;
-                    $first = false;
-                }
-                echo '</div></div>';
-            ?>
</span><span style="color: #000000;background-color: #ddffdd">+            <?php drawScreenshots($screenshots); ?>
</span>             <div class="v-align col-sm-5">
                 <div class="center-font-xs">
                     <?php image('largeVLC.png', 'Large Orange VLC media player Traffic Cone Logo', 'big-vlc-img img-responsive visible-xs-inline-block v-align'); ?>
</code></pre>

<br>
</li>
<li id='diff-17'>
<a href='https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25#diff-17'>
<strong>
www.videolan.org/vlc/download-winrt.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/www.videolan.org/vlc/download-winrt.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/www.videolan.org/vlc/download-winrt.php
</span><span style="color: #aaaaaa">@@ -19,20 +19,7 @@
</span>     ?>
     <section class="download-wrapper">
         <div class="row reorder-xs">
<span style="color: #000000;background-color: #ffdddd">-            <?php
-                echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
-                $first = true;
-                foreach($screenshots as $screenshot) {
-                    $src = $first ? $screenshot['src'] : '';
-                    $srcLazy = $first ? '' : $screenshot['src'];
-                    $dom  = '<div class="screenshot2">';
-                    $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
-                    $dom .= '</div>';
-                    echo $dom;
-                    $first = false;
-                }
-                echo '</div></div>';
-            ?>
</span><span style="color: #000000;background-color: #ddffdd">+            <?php drawScreenshots($screenshots); ?>
</span>             <div class="v-align col-sm-5">
                 <div class="center-font-xs">
                     <?php image('largeVLC.png', 'Large Orange VLC media player Traffic Cone Logo', 'big-vlc-img img-responsive visible-xs-inline-block v-align'); ?>
</code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25">View it on GitLab</a>
<br>
You're receiving this email because of your account on <a href="https://code.videolan.org/">code.videolan.org</a>.
If you'd like to receive fewer emails, you can adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":["merge_requests","issues","commit"],"url":"https://code.videolan.org/VideoLAN.org/websites/compare/3278804f405f191cc00e14bfcc1650703a34043f...96da3fd3740569ef3de4285e3abf7d63e7a1dd25"}}</script>
</p>
</div>
</body>
</html>