[vlc-commits] [Git][videolan/vlc][master] lua/http: fix image fallback for album art
Steve Lhomme (@robUx4)
gitlab at videolan.org
Tue Apr 14 05:45:38 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
2966037e by Vachan B S at 2026-04-14T05:23:33+00:00
lua/http: fix image fallback for album art
- - - - -
1 changed file:
- share/lua/http/index.html
Changes:
=====================================
share/lua/http/index.html
=====================================
@@ -242,7 +242,8 @@
<div id="currentVolume" class="dynamic">50%</div>
</div>
<div id="artszone">
- <img id="albumArt" src="/art" width="141px" height="130px" alt="Album Art"/>
+ <img id="albumArt" src="/art" width="141px" height="130px" alt="Album Art"
+ onerror="this.onerror=null; this.src='images/vlc-48.png';"/>
</div>
<div id="mediaTitle" class="dynamic"></div>
<div id="seekContainer">
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2966037ef7ccab0351268040648ab309adc37a32
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2966037ef7ccab0351268040648ab309adc37a32
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list