File size: 3,062 Bytes
4d2184b 8165713 4d2184b 1381032 916bd13 8eabe9e 1381032 e501a34 916bd13 17c628c b1bff7b 8165713 b3b9d4c ed00b99 9d695bd b3b9d4c 6b04b17 b3b9d4c 6b04b17 b3b9d4c ed00b99 b1bff7b 8165713 0a4c1f8 1381032 0a4c1f8 8165713 13da775 916bd13 add723b 6bc55c1 f6188e5 b1bff7b 0a4c1f8 8165713 4d2184b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>My static Space</title>
<link rel="stylesheet" href="style.css" />
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:site" content=""/>
<meta property="og:title" content="FOLLOW ME"/>
<meta property="og:description" content="Click to send a Direct Message"/>
<meta property="og:image" content="https://huggingface.co/datasets/jbilcke-hf/ai-tube-index/resolve/main/videos/165a6c81-3747-44a4-93a5-46b87353cd02.webp"/>
<!--meta http-equiv="refresh" content="0; url=https://jbilcke-hf-ai-tube.hf.space/"-->
<meta name="refr" http-equiv="refresh" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const vid = urlParams.get("user");
const intent = urlParams.get("intent");
var elv= document.getElementsByName('refr')
if (intent === "dm"){
elv[0].content = "0; url=https://twitter.com/direct_messages/create/" + vid;
document.querySelector('meta[property="og:title"]').setAttribute("content", "DM ME");
}
if (intent === "follow"){
elv[0].content = "0; url=https://twitter.com/intent/follow?screen_name=" + vid;
document.querySelector('meta[property="og:title"]').setAttribute("content", "FOLLOW ME");
}
</script>
<style>
.container {
position: relative;
overflow: hidden;
width: 100%;
padding-top: 100%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}
.responsive-iframe {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div class="container">
</div>
<!--script>
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const vid = urlParams.get("video");
console.log(vid)
$('meta[name="twitter:player"]').remove();
$('meta[name="twitter:player:stream"]').remove();
$('head').append( '<meta name="twitter:player" content="https://omnibus-video-card.static.hf.space/index.html?video='+vid+'">' );
$('head').append( '<meta name="twitter:player:stream" content="https://omnibus-video-card.static.hf.space/index.html?video='+vid+'">' );
console.log($('meta[name="twitter:player"]').attr('content'));
console.log($('meta[name="twitter:player:stream"]').attr('content'));
//document.querySelector('meta[name="twitter:player"]').setAttribute("content", "https://omnibus-video-card.static.hf.space/index.html?video="+vid);
//document.querySelector('meta[name="twitter:stream"]').setAttribute("content", "https://omnibus-video-card.static.hf.space/index.html?video="+vid);
document.getElementById("myFrame").src = vid;
</script-->
</body>
</html>
|