Skip to content

Commit

Permalink
2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fyaz05 authored Sep 15, 2024
1 parent 3ed63ab commit 54b32b7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 61 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
</p>

<p align="center">
<a href="https://github.com/BalaPriyan/issues">🐞 Report a Bug</a>
<a href="https://github.com/BalaPriyan/HydroStreamerBot/issues">🐞 Report a Bug</a>
|
<a href="https://github.com/BalaPriyan/issues">✨ Request a Feature</a>
<a href="https://github.com/BalaPriyan/HydroStreamerBot/issues">✨ Request a Feature</a>
</p>

<hr>
Expand Down
2 changes: 1 addition & 1 deletion WebStreamer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

import time

__version__ = "2.5.0"
__version__ = "2.0"
StartTime = time.time()
61 changes: 4 additions & 57 deletions WebStreamer/template/dl.html
Original file line number Diff line number Diff line change
@@ -1,70 +1,17 @@
<!-- (c) FFFF -->
<!-- Code by fyaz05 -->

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta property="og:image" content="https://i.ibb.co/M8S0Zzj/live-streaming.png" itemprop="thumbnailUrl">
<meta property="og:image" content="https://cdn.jsdelivr.net/gh/fyaz05/Resources@main/HydroStreamerBot/live.png" itemprop="thumbnailUrl">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>%s</title>
<link rel="stylesheet" type='text/css' href="https://drive.google.com/uc?export=view&id=1pVLG4gZy7jdow3sO-wFS06aP_A9QX0O6">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Delius">


</head>

<body class='cyber'>
<header>
<div class="toogle"></div>
<div id="file-name" class="cyber">
<marquee direction = "left"> %s</marquee>
</div>
</header>

<div class="container">
<a href=%s>
<button class="cybr-btn">
Download
<span aria-hidden>_</span>
<span aria-hidden class="cybr-btn__glitch">_404 Error</span>
<span aria-hidden class="cybr-btn__tag">_%s</span>
</button>
</a>

</div>
<script src="https://cdn.plyr.io/3.7.8/plyr.js"></script>
<script>
const controls = [
'play-large',
'rewind',
'play',
'fast-forward',
'progress',
'current-time',
'duration',
'mute',
'volume',
'captions',
'settings',
'pip',
'airplay',
'download',
'fullscreen'
];
document.addEventListener('DOMContentLoaded', () => {
const player = Plyr.setup('.player', { controls });
});

const body = document.querySelector('body');
const title = document.querySelector('#file-name');
const footer = document.querySelector('footer');
const toogle = document.querySelector('.toogle');
toogle.onclick = () => {
body.classList.toggle('dark')
footer.classList.toggle('dark')
title.classList.toggle('dark')
}
</script>
<body>
</body>
</html>
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"formation": {
"web": {
"quantity": 1,
"size": "Standard"
"size": "Standard-2X"
}
}
}

0 comments on commit 54b32b7

Please sign in to comment.