Ready to upload, promote, and earn? Sign Up Free or Buy Fires to boost your music!
Council Crown cover

Council Crown

HipHop
... Fires ... Likes ... Reposts ... Comments ... Favorites ... Plays 🔗Share
0 0 1 0 0 144 Share

Comments

Default avatar
PlugYourTune
Automated smoke test comment 1760934456130

Back to Feed

function showComments(tab) { fetch(`/api/track/1/comments?tab=${tab}`) .then(res => res.json()) .then(data => { const list = document.getElementById('comments-list'); if (data.comments && data.comments.length > 0) { list.innerHTML = data.comments.map(comment => `
${comment.username} avatar
${comment.username}
${comment.comment}
${comment.timestamp != null ? `
⏱ ${comment.timestamp}s
` : ''}
`).join(''); } else { list.innerHTML = `
No comments yet. Be the first to comment!
`; } }); document.getElementById('tab-timed').classList.toggle('active', tab === 'timed'); document.getElementById('tab-newest').classList.toggle('active', tab === 'newest'); }
TwitterTweet FacebookFacebook
document.addEventListener('DOMContentLoaded', function() { var copyBtn = document.getElementById('copyBtn'); var copyToast = document.getElementById('copyToast'); if (copyBtn && copyToast) { copyBtn.addEventListener('click', function() { navigator.clipboard.writeText(window.location.href).then(function() { copyToast.style.display = 'block'; setTimeout(function() { copyToast.style.display = 'none'; }, 1600); }); }); } // Hydrate stats from API var trackId = '1'; fetch('/tracks/' + trackId + '/stats') .then(function(res) { return res.json(); }) .then(function(stats) { if (stats) { var update = function(id, val) { var el = document.getElementById(id); if (el) el.textContent = val; }; update('fireCount', stats.fires); update('likeCount', stats.likes); update('repostCount', stats.reposts); update('favoriteCount', stats.favorites); update('commentCount', stats.comments); update('viewCount', stats.views); } }); });