add replace all to urls :3

This commit is contained in:
Ashley 2023-04-05 20:43:43 +00:00
parent da39c8ca28
commit 6b82af8998

View file

@ -742,7 +742,7 @@ display: block; !important;" autoplay controls
<% if (video?.Title !== k.Video.Title) { %> <% if (video?.Title !== k.Video.Title) { %>
title="Non-Translated title : <%=video?.Title%>" title="Non-Translated title : <%=video?.Title%>"
<% } %> <% } %>
> <%-k.Video.Title%> </div> > <%-k.Video.Title.replace(/\/channel\//g, "/channel?id=").replace(/https:\/\/youtube.com/g, ""); %> </div>
<a style="font-weight: bolder;font-family: sans-serif;color: var(--text-color);font-size: small;">content source : youtube.com </a> <a style="font-weight: bolder;font-family: sans-serif;color: var(--text-color);font-size: small;">content source : youtube.com </a>