Update html/watch.ejs

This commit is contained in:
ashley 2025-09-02 00:58:40 +02:00
parent e7d6776a1e
commit 1a7f6a607b

View File

@ -2323,7 +2323,7 @@ if (/[?&]autoplay=/.test(location.search)) {
if (userID) {
// If user ID exists in localStorage, set the href attribute
anchor.href = `/api/set-channel-subs?ID=${userID}&channelName=<%=VideoData.author%>&avatar=<%- media_proxy_url %>/proxy?url=<%= VideoData.authorThumbnails[1].url %>&channelID=<%=video?.Channel.id || VideoData.authorId %>`;
anchor.href = `/api/set-channel-subs?ID=${userID}&channelName=<%=VideoData.author%>&avatar=<%- media_proxy_url %>/proxy?url=<%= VideoData.authorThumbnails[4].url %>&channelID=<%=video?.Channel.id || VideoData.authorId %>`;
} else {
anchor.href = "/account-create"
}