360p player iframe
This commit is contained in:
parent
76d5bcc58c
commit
075b4e1140
12
index.html
12
index.html
@ -71,9 +71,9 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<img id='cursor' src='bonzi.png' alt='cursor' />
|
||||
<iframe allowfullscreen height='350px' id='live' referrerpolicy='origin' scrolling='no'
|
||||
src='https://live.vance.land/vance/' title='live.vance.land' width='550px'>
|
||||
<img alt='cursor' id='cursor' src='bonzi.png'/>
|
||||
<iframe allowfullscreen height='360px' id='live' referrerpolicy='origin' scrolling='no'
|
||||
src='https://live.vance.land/vance/' title='live.vance.land' width='640px'>
|
||||
</iframe>
|
||||
<script>
|
||||
const email = (function () {
|
||||
@ -137,8 +137,8 @@
|
||||
|
||||
// bonzi cursor
|
||||
window.addEventListener('mousemove', (event) => {
|
||||
document.getElementById('cursor').style.top = event.clientY + 'px';
|
||||
document.getElementById('cursor').style.left = event.clientX + 'px';
|
||||
document.getElementById('cursor').style.top = event.clientY + 'px';
|
||||
document.getElementById('cursor').style.left = event.clientX + 'px';
|
||||
});
|
||||
|
||||
// remove stream if embedded
|
||||
@ -215,7 +215,7 @@
|
||||
.then(data => {
|
||||
const items = data.querySelectorAll('item');
|
||||
items.forEach(element => {
|
||||
text = document.createElement('p');
|
||||
const text = document.createElement('p');
|
||||
text.innerHTML = (element.getElementsByTagName('content:encoded')[0] ?? element.getElementsByTagName('title')[0]).textContent;
|
||||
createAnchor(element.querySelector('link').innerHTML, text.outerHTML);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user