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