diff --git a/webui/static/video/video-detail.js b/webui/static/video/video-detail.js index 3900e5e0..b5858a70 100644 --- a/webui/static/video/video-detail.js +++ b/webui/static/video/video-detail.js @@ -902,7 +902,14 @@ return '
' + data.seasons.map(function (s) { var art = seasonArt(s), p = pct(s); var on = s.season_number === selectedSeason ? ' vd-rcard--active' : ''; - var img = art ? '' : ''; + // YouTube posters carry a lower-res fallback (maxres → original) so a + // missing maxresdefault.jpg downgrades instead of vanishing. + var fb = (s.poster_fallback && s.poster_fallback !== art) ? s.poster_fallback : ''; + var oe = fb + ? 'var f=this.getAttribute(\'data-fb\');if(f){this.removeAttribute(\'data-fb\');this.src=f;}else{this.style.display=\'none\';}' + : 'this.style.display=\'none\''; + var img = art ? '' : ''; return '