Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update anime girl stream #402

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions LIVE/src/static/js/anime_girl_live_stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ document.addEventListener("DOMContentLoaded", function () {
const popup = document.createElement("div");
popup.className = "modal is-active";
popup.innerHTML = `
<div class="modal-background"></div>
<div class="modal-content" onclick="popupFunction()">
<div class="card">
<header class="card-header">
<p class="card-header-title">CLICK HERE TO SEE ANIME GIRL LIVE STREAM</p>
<div class="modal-background" style="background-color: rgba(10, 10, 10, 0.86);"></div>
<div class="modal-content" onclick="popupFunction()" style="position: relative; margin: auto; max-width: 640px; width: 100%;">
<div class="card" style="border: 1px solid #dbdbdb; border-radius: 6px; box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1);">
<header class="card-header" style="background-color: #f5f5f5; border-bottom: 1px solid #dbdbdb; padding: 0.75rem 1rem;">
<p class="card-header-title" style="font-size: 1.25rem; font-weight: 700; color: #000;">CLICK HERE TO SEE ANIME GIRL LIVE STREAM</p>
</header>
<div class="card-image">
<figure class="image is-4by3">
<img src="assets/img/anime_girl.jpeg" alt="Anime Girl">
<div class="card-image" style="position: relative; padding-top: 75%;">
<figure class="image is-4by3" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden;">
<img src="assets/img/anime_girl.jpeg" alt="Anime Girl" style="display: block; width: 100%; height: auto;">
</figure>
</div>
<div class="card-content">
<div class="card-content" style="padding: 1rem;">
<div class="content">
<button class="button is-primary" id="popup-button">Click Here</button>
<button class="button is-primary" id="popup-button" style="background-color: #00d1b2; border: none; color: white; padding: 0.5rem 1rem; font-size: 1rem; border-radius: 4px;">Click Here</button>
</div>
</div>
</div>
</div>
<button class="modal-close is-large" aria-label="close"></button>
<button class="modal-close is-large" aria-label="close" style="position: fixed; top: 1.5rem; right: 1.5rem; background: none; border: none; font-size: 2rem; color: #000;">&times;</button>
`;

// Append the popup to the body
Expand Down Expand Up @@ -63,7 +63,7 @@ function popupFunction() {

const hls = new Hls();
hls.loadSource(
"https://247preview.foxnews.com/hls/live/2020027/fncv3preview/primary.m3u8",
"https://stream.skynewsarabia.com/hls/sna.m3u8",
);
hls.attachMedia(video);
video.play();
Expand Down
106 changes: 50 additions & 56 deletions LIVE/tv/index.html
Original file line number Diff line number Diff line change
@@ -1,60 +1,54 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SLOPTV</title>
<link rel="stylesheet" href="tv_style.css" />
<script src="tv_script.js"></script>
<script src="tv_menu.js"></script>
<script src="hls.min.js"></script>
</head>
<body>
<main class="scanlines">
<div class="screen" id="screen">
<canvas id="canvas" class="picture"></canvas>
<div class="overlay">
<div class="text" id="corner-text">
<span>SLOPTV</span>
</div>
<div id="menu" class="menu">
<header>CHANNEL:</header>
<ul>
<li class="inactive">
<a
href="https://adultswim-vodlive.cdn.turner.com/live/rick-and-morty/stream.m3u8"
>
Rick and Morty</a
>
</li>
<li class="inactive">
<a href="https://english-livebkali.cgtn.com/live/doccgtn.m3u8">
Chinese Propaganda</a
>
</li>
<li class="inactive">
<a
href="https://lotus.stingray.com/manifest/classica-cla008-montreal/samsungtvplus/master.m3u8"
>
Classical Music</a
>
</li>
<li class="inactive">
<a
href="https://247preview.foxnews.com/hls/live/2020027/fncv3preview/primary.m3u8"
>
Anime Girls 24/7</a
>
</li>
</ul>
<footer>
<span onclick="toggleMenu();" style="font-size: 22px"
>ESC Hide, Enter Select, Arrows Move</span
>
</footer>
</div>

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SLOPTV</title>
<link rel="stylesheet" href="tv_style.css" />
<script src="tv_script.js"></script>
<script src="tv_menu.js"></script>
<script src="hls.min.js"></script>
</head>

<body>
<main class="scanlines">
<div class="screen" id="screen">
<canvas id="canvas" class="picture"></canvas>
<div class="overlay">
<div class="text" id="corner-text">
<span>SLOPTV</span>
</div>
<div id="menu" class="menu">
<header>CHANNEL:</header>
<ul>
<li class="inactive">
<a href="https://adultswim-vodlive.cdn.turner.com/live/rick-and-morty/stream.m3u8">
Rick and Morty</a>
</li>

<li class="inactive">
<a href="https://english-livebkali.cgtn.com/live/doccgtn.m3u8">
Chinese Propaganda</a>
</li>

<li class="inactive">
<a href="https://lotus.stingray.com/manifest/classica-cla008-montreal/samsungtvplus/master.m3u8">
Classical Music</a>
</li>

<li class="inactive">
<a href="https://stream.skynewsarabia.com/hls/sna.m3u8">
Anime Girls 24/7</a>
</li>
</ul>
<footer>
<span onclick="toggleMenu();" style="font-size: 22px">ESC Hide, Enter Select, Arrows Move</span>
</footer>
</div>
</div>
</main>
</body>
</html>
</div>
</main>
</body>

</html>
2 changes: 1 addition & 1 deletion LIVE/tv/tv_script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
document.addEventListener("DOMContentLoaded", async function () {
const main = document.querySelector("main"),
canvas = document.getElementById("canvas"),
ctx = canvas.getContext("2d"),
ctx = canvas.getContext("2d", { willReadFrequently: true }),
text = document.querySelector(".text"),
ww = window.innerWidth,
menu = document.querySelector(".menu"),
Expand Down
Loading