mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-27 06:18:45 +01:00
Create youtube.ejs
This commit is contained in:
parent
685899c210
commit
03679d6792
1 changed files with 11 additions and 0 deletions
11
html/youtube.ejs
Normal file
11
html/youtube.ejs
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html><html><title><%=title.title%>-Poketube Youtube Player</title><meta content="<%=title.title%>"name=title><link rel="icon" href="https://poketalebot.com/youtube/icons/dark.svg"><meta content=player name=twitter:card><meta content="<%=title.channelTitle%>"name=twitter:description><meta content=@youtube name=twitter:site><meta content="https://poketalebot.com/youtube/watch?v=<%=title.id%>"name=twitter:url><meta content="<%=title.title%>"name=twitter:title><meta content="https://i.ytimg.com/vi/<%=title.id%>/maxresdefault.jpg"name=twitter:image><meta content="https://www.youtube.com/embed/<%=title.id%>"name=twitter:player><meta content=1280 name=twitter:player:width><meta content=720 name=twitter:player:height><div class=watch-main-col id=watch7-content itemid=""itemscope itemtype=http://schema.org/VideoObject><link href="https://poketalebot.com/youtube/watch?v=<%=title.id%>"itemprop=url><meta content='"<%=title.title%>'itemprop=name><meta content=False itemprop=paid><meta content="<%=title.channelId%>"itemprop=channelId><meta content="<%=title.id%>"itemprop=videoId><span itemprop=author itemscope itemtype=http://schema.org/Person><link href="http://www.youtube.com/channel/<%=title.channelId%>"itemprop=url><link itemprop=name content=" <%=title.channelTitle%> "><link href=https://cdn.poketalebot.com/404/v2.css rel=stylesheet></span><center><form action=/youtube/ara><input id=fname name=query> <input type=submit value=Search></form><hr><style>::-webkit-scrollbar{width:8.5px;background-color:#36363E}::-webkit-scrollbar-thumb{background-color:#7C7C84;border-radius:8.75px}::-webkit-scrollbar-thumb:hover{background-color:#909098}body{background-color:#23272A}p{color:#fff}h1{font-size:50px;margin:0c;color:#fff}h5{display:block;font-size:.83em;margin-top:1.67em;margin-bottom:1.67em;margin-left:0;margin-right:0;font-weight:700;color:#fff}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]){color:inherit;text-decoration:none}a:not([href]):hover{color:inherit;text-decoration:none}.page-footer-section a,.page-footer-section p{color:#B2B4BF}p{margin-top:0;margin-bottom:1rem}p{display:block;margin-block-start:1em;margin-block-end:1em;margin-inline-start:0;margin-inline-end:0}.mb-3,.my-3{margin-bottom:1rem!important}.h5,h5{font-size:1.3125rem}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{line-height:1.25}.h5,h5{font-size:1.25rem}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;font-weight:500;line-height:1.2}.page-footer-section{position:relative;padding-top:100px;padding-bottom:20px;background-color:#F0EEF5}.page-footer-section.bg-dark .caption{color:rgba(255,255,255,.6)}.page-footer-section.bg-dark hr{border-color:#4d4853}.menu-link{position:relative;padding-left:0;list-style:none}.menu-link li{display:block;margin:10px 0}.mea:hover{color:#526bf5;text-decoration:none}.page-footer-section a,.page-footer-section p{color:#B2B4BF}.page-footer-section a:hover{color:#526bf5;text-decoration:none}.client-img>img{width:auto;max-width:100%;height:auto;max-height:100px}.row{display:flex;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{position:relative;width:100%;padding-right:15px;padding-left:15px}</style><div class=videoOuterContainer-3x2_n9><div class=videoMiddleContainer-2yUOUz><div class=videoInnerContainer-2IHZcN><video autoplay class=video-3DYbjh controls name=media><source src="<%=url%>"type=video/mp4></video></div></div></div><center><h1> <%=title.title%> </h1><p><%=title.channelTitle%></center></center><script>const ytdl = {
|
||||
"title":`<%=title.title%>`,
|
||||
"channel":`<%=title.channelTitle%>`,
|
||||
"thubnail":"https://i.ytimg.com/vi/<%=title.id%>/maxresdefault.jpg",
|
||||
}
|
||||
|
||||
const urls = [
|
||||
"https://youtube.com/",
|
||||
"https://youtu.be",
|
||||
"https://googlevideo.com",
|
||||
]</script><script src=https://kit.fontawesome.com/8d48df2880.js crossorigin=anonymous></script><script src=https://unpkg.com/jquery@3.5.1/dist/jquery.js async></script><script src=https://apis.google.com/js/api.js></script><script src=https://cdn.poketalebot.com/js/pTZgfEDRgvAmmARpBW.js async></script><script src=https://cdn.poketalebot.com/js/IeEslDGsvdnOcKUJkB.js></script><script src=https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js type=87ad9ff96984290e2d82e73e-text/javascript></script><script src=https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/js/bootstrap.bundle.min.js type=87ad9ff96984290e2d82e73e-text/javascript></script><script src=https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.4.1/jquery.easing.js type=87ad9ff96984290e2d82e73e-text/javascript></script></html>
|
Loading…
Reference in a new issue