Update place holder image
This commit is contained in:
@@ -235,7 +235,6 @@ function streamURL(hash, index = 0) {
|
||||
|
||||
<!-- 💡 HTML ve stil kısmı aynı kalıyor -->
|
||||
|
||||
|
||||
<section class="files">
|
||||
<h2>Transfers</h2>
|
||||
|
||||
@@ -266,7 +265,9 @@ function streamURL(hash, index = 0) {
|
||||
{#if t.thumbnail}
|
||||
<img src={`${API}${t.thumbnail}`} alt="thumb" class="thumb" />
|
||||
{:else}
|
||||
<div class="thumb placeholder">📷</div>
|
||||
<div class="thumb placeholder">
|
||||
<i class="fa-regular fa-image"></i>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="torrent-info">
|
||||
@@ -383,7 +384,10 @@ function streamURL(hash, index = 0) {
|
||||
</button>
|
||||
|
||||
<a
|
||||
href={streamURL(selectedVideo.infoHash, selectedVideo.fileIndex)}
|
||||
href={streamURL(
|
||||
selectedVideo.infoHash,
|
||||
selectedVideo.fileIndex
|
||||
)}
|
||||
download={selectedVideo.name}
|
||||
class="control-btn"
|
||||
title="Download"
|
||||
|
||||
Reference in New Issue
Block a user