Commit 51b2dc5e authored by Felix Paul Kühne's avatar Felix Paul Kühne

remove hardcodec mirrors and trust DNS

parent 22f52ee0
......@@ -6,6 +6,7 @@ $version = '2.2.1';
$iosversion = '2.7.2';
$tvosversion = '1.0.0';
$androidversion = '1.7.0';
$winrtversion = '1.8.5';
$dlBase = "//get.videolan.org/vlc";
$dlUrl = "$dlBase/$win32version/win32/vlc-$win32version-win32.exe";
......@@ -21,6 +22,7 @@ function replaceDLinfos( $downloadButton = "#downloadButton" )
global $iosversion;
global $tvosversion;
global $androidversion;
global $winrtversion;
global $dlBase;
?>
<script type='text/javascript'>
......@@ -106,6 +108,7 @@ function getOS($os = null, $offset = 0, $count = null, $encode = null) {
global $iosversion;
global $tvosversion;
global $androidversion;
global $winrtversion;
global $dlBase;
$OSs = array(
"windows" => array(
......@@ -186,6 +189,11 @@ function getOS($os = null, $offset = 0, $count = null, $encode = null) {
"freebs" => array(
"name" => "FreeBSD",
"location" => "/vlc/download-freebsd.html"
),
"winrt" => array(
"name" => "Windows Store",
"latestVersion" => $winrtversion,
"location" => "/vlc/download-winrt.html"
)
);
......@@ -280,61 +288,61 @@ function getScreenshots($os) {
"All" => array(
array(
"name" => "VLC media player - Windows 7 - Qt Interface",
"src" => "//images1.videolan.org/vlc/screenshots/1.0.0/vlc_101_w7_2.jpg"
"src" => "//images.videolan.org/vlc/screenshots/1.0.0/vlc_101_w7_2.jpg"
),
array(
"name" => "VLC on OS X",
"src" => "//images1.videolan.org/vlc/screenshots/2.2.0/vlc-2.2-macosx-playback.jpg"
"src" => "//images.videolan.org/vlc/screenshots/2.2.0/vlc-2.2-macosx-playback.jpg"
),
array(
"name" => "VLC media player - Windows 7 - Qt Interface",
"src" => "//images1.videolan.org/vlc/screenshots/1.0.0/vlc_101_w7.jpg"
"src" => "//images.videolan.org/vlc/screenshots/1.0.0/vlc_101_w7.jpg"
),
array(
"name" => "VLC on iPad",
"src" => "//images1.videolan.org/vlc/screenshots/ios2/ipadwhitelibrary-medium.jpg"
"src" => "//images.videolan.org/vlc/screenshots/ios2/ipadwhitelibrary-medium.jpg"
),
array(
"name" => "VLC media player - Linux - Gnome",
"src" => "//images1.videolan.org/vlc/screenshots/1.0.0/VLC_Gnome.png"
"src" => "//images.videolan.org/vlc/screenshots/1.0.0/VLC_Gnome.png"
),
array(
"name" => "VLC on Apple TV",
"src" => "//images1.videolan.org/vlc/screenshots/appletv/Apple-TV-device-playback-medium.jpg"
"src" => "//images.videolan.org/vlc/screenshots/appletv/Apple-TV-device-playback-medium.jpg"
),
array(
"name" => "VLC on OS X",
"src" => "//images1.videolan.org/vlc/screenshots/2.2.0/vlc-2.2-macosx-playback-dark.jpg"
"src" => "//images.videolan.org/vlc/screenshots/2.2.0/vlc-2.2-macosx-playback-dark.jpg"
),
array(
"name" => "VLC media player - Windows Vista - Skins Interface",
"src" => "//images1.videolan.org/vlc/screenshots/1.0.0/VLC_Goldneye.jpg"
"src" => "//images.videolan.org/vlc/screenshots/1.0.0/VLC_Goldneye.jpg"
),
array(
"name" => "VLC media player - Windows 7 - Qt Interface",
"src" => "//images1.videolan.org/vlc/screenshots/1.0.0/vlc_101_w7_1.jpg"
"src" => "//images.videolan.org/vlc/screenshots/1.0.0/vlc_101_w7_1.jpg"
),
array(
"name" => "VLC on OS X",
"src" => "//images1.videolan.org/vlc/screenshots/2.2.0/vlc-2.2-macosx-audio-playback-dark.jpg"
"src" => "//images.videolan.org/vlc/screenshots/2.2.0/vlc-2.2-macosx-audio-playback-dark.jpg"
),
array(
"name" => "VLC media player - Windows Vista - Qt Interface",
"src" => "//images1.videolan.org/vlc/screenshots/1.0.0/VLC_Qt4.jpg"
"src" => "//images.videolan.org/vlc/screenshots/1.0.0/VLC_Qt4.jpg"
),
array(
"name" => "VLC on Android",
"src" => "//images1.videolan.org/vlc/screenshots/android/playback-medium.jpg"
"src" => "//images.videolan.org/vlc/screenshots/android/playback-medium.jpg"
),
array(
"name" => "VLC for Windows Store",
"src" => "//images1.videolan.org/vlc/screenshots/winrt/artistpage-medium.jpg"
"src" => "//images.videolan.org/vlc/screenshots/winrt/artistpage-medium.jpg"
)
),
"windows" => array(
array(
"name" => "VLC media player - Windows 7 - Qt Interface",
"src" => "//images1.videolan.org/vlc/screenshots/1.0.0/vlc_101_w7_2.jpg"
"src" => "//images.videolan.org/vlc/screenshots/1.0.0/vlc_101_w7_2.jpg"
)
),
"linux" => array(
......@@ -344,103 +352,109 @@ function getScreenshots($os) {
),
array(
"name" => "VLC media player - Linux - Gnome",
"src" => "//images1.videolan.org/vlc/screenshots/1.0.0/VLC_Gnome.png"
"src" => "//images.videolan.org/vlc/screenshots/1.0.0/VLC_Gnome.png"
),
array(
"name" => "VLC media player - Linux - Debian / Gnome 3",
"src" => "//images1.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-gnome3-debian.jpg"
"src" => "//images.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-gnome3-debian.jpg"
)
),
"ios" => array(
array(
"name" => "VLC on iPad",
"src" => "//images1.videolan.org/vlc/screenshots/ios2/ipadwhitelibrary-medium.jpg"
"src" => "//images.videolan.org/vlc/screenshots/ios2/ipadwhitelibrary-medium.jpg"
),
array(
"name" => "VLC on iPad",
"src" => "//images1.videolan.org/vlc/screenshots/ios2/ipadblackplayback.jpg"
"src" => "//images.videolan.org/vlc/screenshots/ios2/ipadblackplayback.jpg"
),
array(
"name" => "VLC on Apple Watch",
"src" => "//images1.videolan.org/vlc/screenshots/2.2.0/vlc-ios-2.6-watch-list.jpg"
"src" => "//images.videolan.org/vlc/screenshots/2.2.0/vlc-ios-2.6-watch-list.jpg"
),
array(
"name" => "VLC on iPhone",
"src" => "//images1.videolan.org/vlc/screenshots/ios2/iphoneblackplayback.jpg"
"src" => "//images.videolan.org/vlc/screenshots/ios2/iphoneblackplayback.jpg"
),
array(
"name" => "VLC on Apple Watch",
"src" => "//images1.videolan.org/vlc/screenshots/2.2.0/vlc-ios-2.6-watch-detail.jpg"
"src" => "//images.videolan.org/vlc/screenshots/2.2.0/vlc-ios-2.6-watch-detail.jpg"
),
array(
"name" => "VLC on iPhone",
"src" => "//images1.videolan.org/vlc/screenshots/ios2/iphoneblacklibrary.jpg"
"src" => "//images.videolan.org/vlc/screenshots/ios2/iphoneblacklibrary.jpg"
)
),
"tvos" => array(
array(
"name" => "VLC on Apple TV",
"src" => "//images1.videolan.org/vlc/screenshots/appletv/Apple-TV-device-browse-medium.jpg"
"src" => "//images.videolan.org/vlc/screenshots/appletv/Apple-TV-device-browse-medium.jpg"
),
array(
"name" => "VLC on Apple TV",
"src" => "//images1.videolan.org/vlc/screenshots/appletv/Apple-TV-device-playback-medium.jpg"
"src" => "//images.videolan.org/vlc/screenshots/appletv/Apple-TV-device-playback-medium.jpg"
),
array(
"name" => "VLC on Apple TV, iPad and iPhone",
"src" => "//images1.videolan.org/vlc/screenshots/appletv/Apple-TV-device-ipad-iphone-playback-medium.jpg"
"src" => "//images.videolan.org/vlc/screenshots/appletv/Apple-TV-device-ipad-iphone-playback-medium.jpg"
),
array(
"name" => "VLC on Apple TV",
"src" => "//images1.videolan.org/vlc/screenshots/appletv/Apple-TV-device-playback-speed-medium.jpg"
"src" => "//images.videolan.org/vlc/screenshots/appletv/Apple-TV-device-playback-speed-medium.jpg"
),
array(
"name" => "VLC on Apple TV, iPad and iPhone",
"src" => "//images1.videolan.org/vlc/screenshots/appletv/Apple-TV-device-ipad-iphone-browse-medium.jpg"
"src" => "//images.videolan.org/vlc/screenshots/appletv/Apple-TV-device-ipad-iphone-browse-medium.jpg"
)
),
"osx" => array(
array(
"name" => "VLC on OS X",
"src" => "//images1.videolan.org/vlc/screenshots/2.2.0/vlc-2.2-macosx-playback.jpg"
"src" => "//images.videolan.org/vlc/screenshots/2.2.0/vlc-2.2-macosx-playback.jpg"
),
array(
"name" => "VLC on OS X",
"src" => "//images1.videolan.org/vlc/screenshots/2.2.0/vlc-2.2-macosx-playback-dark.jpg"
"src" => "//images.videolan.org/vlc/screenshots/2.2.0/vlc-2.2-macosx-playback-dark.jpg"
),
array(
"name" => "VLC on OS X",
"src" => "//images1.videolan.org/vlc/screenshots/2.2.0/vlc-2.2-macosx-audio-playback-dark.jpg"
"src" => "//images.videolan.org/vlc/screenshots/2.2.0/vlc-2.2-macosx-audio-playback-dark.jpg"
)
),
"android" => array(
array(
"name" => "VLC on Android",
"src" => "//images1.videolan.org/vlc/screenshots/android/library-video-landscape-medium.jpg"
"src" => "//images.videolan.org/vlc/screenshots/android/library-video-landscape-medium.jpg"
),
array(
"name" => "VLC on Android",
"src" => "//images1.videolan.org/vlc/screenshots/android/playback-tablet-medium.jpg"
"src" => "//images.videolan.org/vlc/screenshots/android/playback-tablet-medium.jpg"
),
array(
"name" => "VLC on Android",
"src" => "//images1.videolan.org/vlc/screenshots/android/library-video-portrait.jpg"
"src" => "//images.videolan.org/vlc/screenshots/android/library-video-portrait.jpg"
),
array(
"name" => "VLC on Android",
"src" => "//images1.videolan.org/vlc/screenshots/android/library-video-landscape-tablet-medium.jpg"
"src" => "//images.videolan.org/vlc/screenshots/android/library-video-landscape-tablet-medium.jpg"
),
array(
"name" => "VLC on Android",
"src" => "//images1.videolan.org/vlc/screenshots/android/playback-medium.jpg"
"src" => "//images.videolan.org/vlc/screenshots/android/playback-medium.jpg"
),
array(
"name" => "VLC on Android",
"src" => "//images1.videolan.org/vlc/screenshots/android/library-audio-portrait.jpg"
"src" => "//images.videolan.org/vlc/screenshots/android/library-audio-portrait.jpg"
),
array(
"name" => "VLC on Android",
"src" => "//images1.videolan.org/vlc/screenshots/android/library-music-album-portrait.jpg"
"src" => "//images.videolan.org/vlc/screenshots/android/library-music-album-portrait.jpg"
)
),
"winrt" => array(
array(
"name" => "VLC for Windows Store",
"src" => "//images.videolan.org/vlc/screenshots/winrt/artistpage-medium.jpg"
)
)
);
......
......@@ -73,12 +73,12 @@ Personal blog post about the release: <a href="http://feepk.net/2016/01/12/vlc-t
<p>press@videolan.org</p>
<h2>Pictures</h2>
<div style='float: left; width: 100%; height: 1400px; padding-left: 70px;'>
<a href="http://images1.videolan.org/vlc/screenshots/appletv/Apple-TV-device-playback.jpg"><img style="width: 450px"' src="http://images1.videolan.org/vlc/screenshots/appletv/Apple-TV-device-playback-small.jpg" alt="VLC for Apple TV" /></a><br/>
<a href="http://images1.videolan.org/vlc/screenshots/appletv/Apple-TV-device-playback-speed.jpg"><img style="width: 450px"' src="http://images1.videolan.org/vlc/screenshots/appletv/Apple-TV-device-playback-speed-small.jpg" alt="VLC for Apple TV" /></a><br/>
<a href="http://images1.videolan.org/vlc/screenshots/appletv/Apple-TV-device-browse.jpg"><img style="width: 450px"' src="http://images1.videolan.org/vlc/screenshots/appletv/Apple-TV-device-browse-small.jpg" alt="VLC for Apple TV" /></a><br/>
<a href="http://images1.videolan.org/vlc/screenshots/appletv/Apple-TV-device-ipad-iphone-playback.jpg"><img style="width: 450px"' src="http://images1.videolan.org/vlc/screenshots/appletv/Apple-TV-device-ipad-iphone-playback-small.jpg" alt="VLC for Apple TV" /></a>
<a href="http://images.videolan.org/vlc/screenshots/appletv/Apple-TV-device-playback.jpg"><img style="width: 450px"' src="http://images.videolan.org/vlc/screenshots/appletv/Apple-TV-device-playback-small.jpg" alt="VLC for Apple TV" /></a><br/>
<a href="http://images.videolan.org/vlc/screenshots/appletv/Apple-TV-device-playback-speed.jpg"><img style="width: 450px"' src="http://images.videolan.org/vlc/screenshots/appletv/Apple-TV-device-playback-speed-small.jpg" alt="VLC for Apple TV" /></a><br/>
<a href="http://images.videolan.org/vlc/screenshots/appletv/Apple-TV-device-browse.jpg"><img style="width: 450px"' src="http://images.videolan.org/vlc/screenshots/appletv/Apple-TV-device-browse-small.jpg" alt="VLC for Apple TV" /></a><br/>
<a href="http://images.videolan.org/vlc/screenshots/appletv/Apple-TV-device-ipad-iphone-playback.jpg"><img style="width: 450px"' src="http://images.videolan.org/vlc/screenshots/appletv/Apple-TV-device-ipad-iphone-playback-small.jpg" alt="VLC for Apple TV" /></a>
<br/>
<a href="http://images1.videolan.org/vlc/screenshots/appletv/Apple-TV-device-ipad-iphone-browse.jpg"><img style="width: 450px"' src="http://images1.videolan.org/vlc/screenshots/appletv/Apple-TV-device-ipad-iphone-browse-small.jpg" alt="VLC for Apple TV" /></a>
<a href="http://images.videolan.org/vlc/screenshots/appletv/Apple-TV-device-ipad-iphone-browse.jpg"><img style="width: 450px"' src="http://images.videolan.org/vlc/screenshots/appletv/Apple-TV-device-ipad-iphone-browse-small.jpg" alt="VLC for Apple TV" /></a>
<br />
</div>
<br/><br />
......
......@@ -89,10 +89,10 @@
<?php
function vlcskins($img,$thumb, $skin){
echo"<div style='width: 230px; font-size: 2em; float: left; text-align: center;'><div class='screenshot' style='overflow: hidden; width: 200px; height: 120px;'>"
."<a href='http://images1.videolan.org/vlc/skins2/$img'><img
src='http://images1.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
."<a href='http://images.videolan.org/vlc/skins2/$img'><img
src='http://images.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
</div>";
echo "<a href='http://www1.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
echo "<a href='http://www.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
}
vlcskins('Preview.jpg', 'tm_Preview.jpg', 'eDark Vlc.vlt' );
vlcskins('screen_vlc_def_mod.jpg', 'tm_screen_vlc_def_mod.jpg', 'default_mod_mentalrey.vlt' );
......
......@@ -89,10 +89,10 @@
<?php
function vlcskins($img,$thumb, $skin){
echo"<div style='width: 230px; font-size: 2em; float: left; text-align: center;'><div class='screenshot' style='overflow: hidden; width: 200px; height: 120px;'>"
."<a href='http://images1.videolan.org/vlc/skins2/$img'><img
src='http://images1.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
."<a href='http://images.videolan.org/vlc/skins2/$img'><img
src='http://images.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
</div>";
echo "<a href='http://www1.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
echo "<a href='http://www.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
}
vlcskins('Preview.jpg', 'tm_Preview.jpg', 'eDark Vlc.vlt' );
vlcskins('screen_vlc_def_mod.jpg', 'tm_screen_vlc_def_mod.jpg', 'default_mod_mentalrey.vlt' );
......
......@@ -89,10 +89,10 @@
<?php
function vlcskins($img,$thumb, $skin){
echo"<div style='width: 230px; font-size: 2em; float: left; text-align: center;'><div class='screenshot' style='overflow: hidden; width: 200px; height: 120px;'>"
."<a href='http://images1.videolan.org/vlc/skins2/$img'><img
src='http://images1.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
."<a href='http://images.videolan.org/vlc/skins2/$img'><img
src='http://images.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
</div>";
echo "<a href='http://www1.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
echo "<a href='http://www.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
}
vlcskins('Preview.jpg', 'tm_Preview.jpg', 'eDark Vlc.vlt' );
vlcskins('screen_vlc_def_mod.jpg', 'tm_screen_vlc_def_mod.jpg', 'default_mod_mentalrey.vlt' );
......
......@@ -89,10 +89,10 @@
<?php
function vlcskins($img,$thumb, $skin){
echo"<div style='width: 230px; font-size: 2em; float: left; text-align: center;'><div class='screenshot' style='overflow: hidden; width: 200px; height: 120px;'>"
."<a href='http://images1.videolan.org/vlc/skins2/$img'><img
src='http://images1.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
."<a href='http://images.videolan.org/vlc/skins2/$img'><img
src='http://images.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
</div>";
echo "<a href='http://www1.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
echo "<a href='http://www.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
}
vlcskins('Preview.jpg', 'tm_Preview.jpg', 'eDark Vlc.vlt' );
vlcskins('screen_vlc_def_mod.jpg', 'tm_screen_vlc_def_mod.jpg', 'default_mod_mentalrey.vlt' );
......
......@@ -89,10 +89,10 @@
<?php
function vlcskins($img,$thumb, $skin){
echo"<div style='width: 230px; font-size: 2em; float: left; text-align: center;'><div class='screenshot' style='overflow: hidden; width: 200px; height: 120px;'>"
."<a href='http://images1.videolan.org/vlc/skins2/$img'><img
src='http://images1.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
."<a href='http://images.videolan.org/vlc/skins2/$img'><img
src='http://images.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
</div>";
echo "<a href='http://www1.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
echo "<a href='http://www.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
}
vlcskins('Preview.jpg', 'tm_Preview.jpg', 'eDark Vlc.vlt' );
vlcskins('screen_vlc_def_mod.jpg', 'tm_screen_vlc_def_mod.jpg', 'default_mod_mentalrey.vlt' );
......
......@@ -89,10 +89,10 @@
<?php
function vlcskins($img,$thumb, $skin){
echo"<div style='width: 230px; font-size: 2em; float: left; text-align: center;'><div class='screenshot' style='overflow: hidden; width: 200px; height: 120px;'>"
."<a href='http://images1.videolan.org/vlc/skins2/$img'><img
src='http://images1.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
."<a href='http://images.videolan.org/vlc/skins2/$img'><img
src='http://images.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
</div>";
echo "<a href='http://www1.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
echo "<a href='http://www.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
}
vlcskins('Preview.jpg', 'tm_Preview.jpg', 'eDark Vlc.vlt' );
vlcskins('screen_vlc_def_mod.jpg', 'tm_screen_vlc_def_mod.jpg', 'default_mod_mentalrey.vlt' );
......
......@@ -89,10 +89,10 @@
<?php
function vlcskins($img,$thumb, $skin){
echo"<div style='width: 230px; font-size: 2em; float: left; text-align: center;'><div class='screenshot' style='overflow: hidden; width: 200px; height: 120px;'>"
."<a href='http://images1.videolan.org/vlc/skins2/$img'><img
src='http://images1.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
."<a href='http://images.videolan.org/vlc/skins2/$img'><img
src='http://images.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
</div>";
echo "<a href='http://www1.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
echo "<a href='http://www.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
}
vlcskins('Preview.jpg', 'tm_Preview.jpg', 'eDark Vlc.vlt' );
vlcskins('screen_vlc_def_mod.jpg', 'tm_screen_vlc_def_mod.jpg', 'default_mod_mentalrey.vlt' );
......
......@@ -89,10 +89,10 @@
<?php
function vlcskins($img,$thumb, $skin){
echo"<div style='width: 230px; font-size: 2em; float: left; text-align: center;'><div class='screenshot' style='overflow: hidden; width: 200px; height: 120px;'>"
."<a href='http://images1.videolan.org/vlc/skins2/$img'><img
src='http://images1.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
."<a href='http://images.videolan.org/vlc/skins2/$img'><img
src='http://images.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
</div>";
echo "<a href='http://www1.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
echo "<a href='http://www.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
}
vlcskins('Preview.jpg', 'tm_Preview.jpg', 'eDark Vlc.vlt' );
vlcskins('screen_vlc_def_mod.jpg', 'tm_screen_vlc_def_mod.jpg', 'default_mod_mentalrey.vlt' );
......
......@@ -89,10 +89,10 @@
<?php
function vlcskins($img,$thumb, $skin){
echo"<div style='width: 230px; font-size: 2em; float: left; text-align: center;'><div class='screenshot' style='overflow: hidden; width: 200px; height: 120px;'>"
."<a href='http://images1.videolan.org/vlc/skins2/$img'><img
src='http://images1.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
."<a href='http://images.videolan.org/vlc/skins2/$img'><img
src='http://images.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
</div>";
echo "<a href='http://www1.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
echo "<a href='http://www.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
}
vlcskins('Preview.jpg', 'tm_Preview.jpg', 'eDark Vlc.vlt' );
vlcskins('screen_vlc_def_mod.jpg', 'tm_screen_vlc_def_mod.jpg', 'default_mod_mentalrey.vlt' );
......
......@@ -89,10 +89,10 @@
<?php
function vlcskins($img,$thumb, $skin){
echo"<div style='width: 230px; font-size: 2em; float: left; text-align: center;'><div class='screenshot' style='overflow: hidden; width: 200px; height: 120px;'>"
."<a href='http://images1.videolan.org/vlc/skins2/$img'><img
src='http://images1.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
."<a href='http://images.videolan.org/vlc/skins2/$img'><img
src='http://images.videolan.org/vlc/skins2/$thumb' alt='VLC media player' /></a>
</div>";
echo "<a href='http://www1.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
echo "<a href='http://www.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
}
vlcskins('Preview.jpg', 'tm_Preview.jpg', 'eDark Vlc.vlt' );
vlcskins('screen_vlc_def_mod.jpg', 'tm_screen_vlc_def_mod.jpg', 'default_mod_mentalrey.vlt' );
......
......@@ -98,10 +98,10 @@ in their <b>free time</b>, we welcome donations to help us manage the software.
<?php
function vlcskins($img,$thumb, $skin){
echo"<div style='width: 230px; font-size: 2em; float: left; text-align: center;'><div class='screenshot' style='overflow: hidden; width: 200px; height: 120px;'>"
."<a href='http://images1.videolan.org/vlc/skins2/$img'><img
src='http://images1.videolan.org/vlc/skins2/$thumb' alt='VLC media player - $desc' /></a>
."<a href='http://images.videolan.org/vlc/skins2/$img'><img
src='http://images.videolan.org/vlc/skins2/$thumb' alt='VLC media player - $desc' /></a>
</div>";
echo "<a href='http://www1.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
echo "<a href='http://www.videolan.org/vlc/download-skins2-go.php?url=$skin'>Get this skin!</a></div>";
}
vlcskins('Preview.jpg', 'tm_Preview.jpg', 'eDark Vlc.vlt' );
vlcskins('screen_vlc_def_mod.jpg', 'tm_screen_vlc_def_mod.jpg', 'default_mod_mentalrey.vlt' );
......
......@@ -26,7 +26,7 @@
<p><a href="/videolan/events/vdd11.html">For the third time</a>, people from the VideoLAN community will meet in Paris to gather, work, discuss and build a stronger community.</p>
<h2>1 February 2011 - Ten years of open source</h2>
<a href="/videolan/events/10y/"><img alt="10 cones" src="http://images1.videolan.org/images/10years.png" /></a>
<a href="/videolan/events/10y/"><img alt="10 cones" src="http://images.videolan.org/images/10years.png" /></a>
<h2>18, 19, 20 December 2009 - Second Dev Days</h2>
<p><a href="/videolan/events/vdd09.html">For the second time</a>, people from the VideoLAN community will meet in Paris to gather, work, discuss and build a stronger community.</p>
......
......@@ -51,7 +51,7 @@
<div class="inner center-xs">
<div class="btn-group">
<a href="https://www.microsoft.com/store/apps/vlc-for-windows-store/9wzdncrfj3t0"><img src="http://images.videolan.org/images/windowstoredownload-en.png" border="0" /></a>
<a href="//www.microsoft.com/store/apps/vlc-for-windows-store/9wzdncrfj3t0"><img src="http://images.videolan.org/images/windowstoredownload-en.png" border="0" /></a>
</div>
<div id="downloadDetails">
Version <span id='downloadVersion'>
......
......@@ -12,8 +12,8 @@
require($_SERVER["DOCUMENT_ROOT"]."/include/os-specific.php");
function vlcscreenshot($img, $thumb, $desc) {
echo"<div class='screenshot' style='overflow: hidden; width: 120px;'><a href='http://images1.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images1.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
echo"<div class='screenshot' style='overflow: hidden; width: 120px;'><a href='http://images.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
</div>";
}
......
......@@ -183,8 +183,8 @@
<?php
function vlcscreenshot($img,$thumb, $desc){
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='http://images1.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='http://images1.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='http://images.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='http://images.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
</div>";
}
?>
......
......@@ -183,8 +183,8 @@
<?php
function vlcscreenshot($img,$thumb, $desc){
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='//images1.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images1.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='//images.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
</div>";
}
?>
......
......@@ -182,8 +182,8 @@
<?php
function vlcscreenshot($img,$thumb, $desc){
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='//images1.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images1.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='//images.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
</div>";
}
?>
......
......@@ -175,8 +175,8 @@
<?php
function vlcscreenshot($img,$thumb, $desc){
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='//images1.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images1.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='//images.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
</div>";
}
?>
......
......@@ -182,8 +182,8 @@
<?php
function vlcscreenshot($img,$thumb, $desc){
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='//images1.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images1.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='//images.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
</div>";
}
?>
......
......@@ -178,8 +178,8 @@
<?php
function vlcscreenshot($img,$thumb, $desc){
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='//images1.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images1.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='//images.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
</div>";
}
?>
......
......@@ -180,8 +180,8 @@
<?php
function vlcscreenshot($img,$thumb, $desc){
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='//images1.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images1.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='//images.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
</div>";
}
?>
......
......@@ -178,8 +178,8 @@
<?php
function vlcscreenshot($img,$thumb, $desc){
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='//images1.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images1.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='//images.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
</div>";
}
?>
......
......@@ -176,8 +176,8 @@
<?php
function vlcscreenshot($img,$thumb, $desc){
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='//images1.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images1.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
echo"<div class='screenshot' style='overflow: hidden; width: 150px; height: 97px;'><a href='//images.videolan.org/vlc/screenshots/$img' rel='lightbox-vlc'><img
src='//images.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
</div>";
}
?>
......
......@@ -3,8 +3,8 @@
require($_SERVER["DOCUMENT_ROOT"]."/include/header.php");
function screenshot($img,$thumb,$desc,$size){
echo"<div class='largescreenshot'><a href='http://images1.videolan.org/vlc/screenshots/$img'>
<img class='screenshot' style='width: 150px;' src='http://images1.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
echo"<div class='largescreenshot'><a href='http://images.videolan.org/vlc/screenshots/$img'>
<img class='screenshot' style='width: 150px;' src='http://images.videolan.org/vlc/screenshots/$thumb' alt='VLC media player - $desc' /></a>
<br /> $desc<br />($size) </div>";
}
?>
......
......@@ -31,10 +31,10 @@ function AddSkin( $id, $name, $author, $img, $url, $dl, $date, $date_mod, $ratin
echo "</div>";*/
$canvote = (!isset($_COOKIE["skinrated_$id"])) || ($_COOKIE["skinrated_$id"] != $id);
echo "<div class=\"skin-container\"";
echo " onclick=\"showSkinBox(".$id.",'".$name."','".$author."','".$date_mod."','".$dl."','".$url."','".FormatSize( $size )."',".$rating.",".$count.",'http://images1.videolan.org/vlc/skins2/".$img."','".$canvote."','".$min_version."')\"";
echo " onclick=\"showSkinBox(".$id.",'".$name."','".$author."','".$date_mod."','".$dl."','".$url."','".FormatSize( $size )."',".$rating.",".$count.",'http://images.videolan.org/vlc/skins2/".$img."','".$canvote."','".$min_version."')\"";
echo ">\n";
echo " <div class=\"skin-container-title\">".$name."</div>\n";
echo " <img src=\"http://images1.videolan.org/vlc/skins2/tm_".$img."\" alt=\"".$name."\"/>\n";
echo " <img src=\"http://images.videolan.org/vlc/skins2/tm_".$img."\" alt=\"".$name."\"/>\n";
echo " <div class=\"skin-container-rating\">";
if( $rating == -1 ) {
echo "Not rated";
......@@ -42,7 +42,7 @@ function AddSkin( $id, $name, $author, $img, $url, $dl, $date, $date_mod, $ratin
else {
for( $i=0; $i<5; $i++ ) {
$v = round(min(1,max(0,$rating-$i)),1)*10;
echo "<img alt='".($v>0?'+':'-')."' src='http://images1.videolan.org/images/skins/cone-$v.png' />";
echo "<img alt='".($v>0?'+':'-')."' src='http://images.videolan.org/images/skins/cone-$v.png' />";
}
}
echo " </div>\n";
......
......@@ -16,7 +16,7 @@
<p>We don't show Linux download statistics as most downloads for this
OS are made through distributions.</p>
<?php echo "<center><img src='//images1.videolan.org/images/events/1billion.png' alt='1 billion downloads' class='' style='box-shadow: 0px 0px 10px 5px #FFF; margin-top: 20px;' /></center>"; ?>
<?php echo "<center><img src='//images.videolan.org/images/events/1billion.png' alt='1 billion downloads' class='' style='box-shadow: 0px 0px 10px 5px #FFF; margin-top: 20px;' /></center>"; ?>
<h1>Downloads by version and by OS</h1>
<table border="0">
......
......@@ -35,8 +35,8 @@
</div>
<?php
function vlmcscreenshot($img,$thumb, $desc){
echo"<div class='screenshot' style='height: 70px;'><a href='http://images1.videolan.org/vlmc/screenshots/$img'><img
src='http://images1.videolan.org/vlmc/screenshots/$thumb' alt='VLMC - $desc' /></a>
echo"<div class='screenshot' style='height: 70px;'><a href='http://images.videolan.org/vlmc/screenshots/$img'><img
src='http://images.videolan.org/vlmc/screenshots/$thumb' alt='VLMC - $desc' /></a>
</div>";
}
?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment