WIP: storage-fix-local-nas work before playlist controls feature
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
1 parent
6b3ab5b65e
commit
c160242dbc
46 files changed
+5365
-815
No files matched your search
@@ -1590,7 +1590,7 @@ $headerSocialMap = [
|
||||
@foreach($allVids as $v)
|
||||
<a href="{{ route('videos.show', $v) }}" class="ch-post-video-card" style="{{ !$loop->first ? 'margin-top:8px;' : '' }}">
|
||||
<div class="ch-post-video-thumb-wrap">
|
||||
<img src="{{ $v->thumbnail ? asset('storage/thumbnails/'.$v->thumbnail) : '' }}"
|
||||
<img src="{{ $v->thumbnail ? route('media.thumbnail', $v->thumbnail) : '' }}"
|
||||
alt="" onerror="this.style.display='none'">
|
||||
<div class="ch-post-video-play"><i class="bi bi-play-circle-fill"></i></div>
|
||||
</div>
|
||||
@@ -1774,7 +1774,7 @@ $headerSocialMap = [
|
||||
@foreach($shorts as $short)
|
||||
<a href="{{ route('videos.show', $short) }}" class="ch-short-card">
|
||||
<div class="ch-short-thumb">
|
||||
<img src="{{ $short->thumbnail ? asset('storage/thumbnails/' . $short->thumbnail) : 'https://picsum.photos/seed/' . $short->id . '/360/640' }}"
|
||||
<img src="{{ $short->thumbnail ? route('media.thumbnail', $short->thumbnail) : 'https://picsum.photos/seed/' . $short->id . '/360/640' }}"
|
||||
alt="{{ $short->title }}" loading="lazy">
|
||||
@if($short->duration)
|
||||
<span class="ch-short-duration">{{ gmdate('i:s', $short->duration) }}</span>
|
||||
@@ -2454,11 +2454,11 @@ if ($oldLinks) {
|
||||
<div class="ch-vp-card"
|
||||
data-id="{{ $v->id }}"
|
||||
data-title="{{ $v->title }}"
|
||||
data-thumb="{{ $v->thumbnail ? asset('storage/thumbnails/'.$v->thumbnail) : '' }}"
|
||||
data-thumb="{{ $v->thumbnail ? route('media.thumbnail', $v->thumbnail) : '' }}"
|
||||
onclick="togglePickerCard(this)">
|
||||
<div class="ch-vp-card-thumb">
|
||||
@if($v->thumbnail)
|
||||
<img src="{{ asset('storage/thumbnails/'.$v->thumbnail) }}" alt="" loading="lazy">
|
||||
<img src="{{ route('media.thumbnail', $v->thumbnail) }}" alt="" loading="lazy">
|
||||
@else
|
||||
<div style="width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.2);font-size:22px;"><i class="bi bi-film"></i></div>
|
||||
@endif
|
||||
|
||||
Reference in new issue
Block a user