From gitlab at videolan.org Sun Aug 30 11:21:41 2026 From: gitlab at videolan.org (=?UTF-8?B?RmVsaXggUGF1bCBLw7xobmUgKEBma3VlaG5lKQ==?=) Date: Sun, 30 Aug 2026 13:21:41 +0200 Subject: [www-doc] [Git][VideoLAN.org/websites][master] VLC/Mac: deliver UB on Safari instead of x86_64, improve platform detection for Edge/Chrome/Firefox Message-ID: <6a941245aba20_16e10ea5e1ab4183284@gitlab.mail> Felix Paul K?hne pushed to branch master at VideoLAN organization / websites Commits: f385ce74 by Felix Paul K?hne at 2026-08-30T13:20:56+02:00 VLC/Mac: deliver UB on Safari instead of x86_64, improve platform detection for Edge/Chrome/Firefox - - - - - 1 changed file: - www.videolan.org/include/os-specific.php Changes: ===================================== www.videolan.org/include/os-specific.php ===================================== @@ -13,7 +13,8 @@ $dlBase = "//get.videolan.org/vlc"; $windowsLocation = "$dlBase/$win32version/win32/vlc-$win32version-win32.exe"; $windows64Location = "$dlBase/$win32version/win64/vlc-$win32version-win64.exe"; $windowsArm64Location = "$dlBase/$win32version/winarm64/vlc-$win32version-winarm64.exe"; -$osxLocation = "$dlBase/$macosxversion/macosx/vlc-$macosxversion-intel64.dmg"; +$osxLocation = "$dlBase/$macosxversion/macosx/vlc-$macosxversion-universal.dmg"; +$osxIntel64Location = "$dlBase/$macosxversion/macosx/vlc-$macosxversion-intel64.dmg"; $osxArm64Location = "$dlBase/$macosArm64version/macosx/vlc-$macosArm64version-arm64.dmg"; function replaceDLinfos( $downloadButton = "#downloadButton" ) @@ -88,6 +89,8 @@ function replaceDLinfos( $downloadButton = "#downloadButton" ) var renderername = debugrenderer && glcontext.getParameter(debugrenderer.UNMASKED_RENDERER_WEBGL) || ""; if (renderername.match(/Apple/) && !renderername.match(/Apple GPU/)) { OS="osxarm64"; + } else if (renderername.match(/Intel|AMD|NVIDIA|Radeon|GeForce/)) { + OS="osxintel64"; } } catch (e) { } } @@ -150,6 +153,7 @@ function getOS($os = null, $offset = 0, $count = null, $encode = null) { global $windows64Location; global $windowsArm64Location; global $osxLocation; + global $osxIntel64Location; global $osxArm64Location; global $win32version; global $version; @@ -181,14 +185,14 @@ function getOS($os = null, $offset = 0, $count = null, $encode = null) { "location" => $windowsArm64Location ), "osx" => array( - "name" => "macOS", - "size" => "48 MB", + "name" => "macOS (Universal)", + "size" => "89 MB", "latestVersion" => $macosxversion, "location" => $osxLocation ), "osxarm64" => array( "name" => "macOS (Apple Silicon)", - "size" => "48 MB", + "size" => "51 MB", "latestVersion" => $macosArm64version, "location" => $osxArm64Location ), @@ -224,6 +228,12 @@ function getOS($os = null, $offset = 0, $count = null, $encode = null) { "size" => "25 MB", "location" => "$dlBase/$oldmacosxversion/macosx/vlc-$oldmacosxversion-powerpc.dmg" ), + "osxintel64" => array( + "name" => "macOS (Intel)", + "size" => "58 MB", + "latestVersion" => $macosxversion, + "location" => $osxIntel64Location + ), "debian" => array( "name" => "Debian GNU/Linux", "location" => "/vlc/download-debian.html" View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/-/commit/f385ce74922117e10bcba99c2a27d86b03f94291 -- View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/-/commit/f385ce74922117e10bcba99c2a27d86b03f94291 You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help