-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaleatorio.html
More file actions
80 lines (74 loc) · 4.62 KB
/
aleatorio.html
File metadata and controls
80 lines (74 loc) · 4.62 KB
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
78
79
80
<!DOCTYPE html>
<html lang="pt">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Aleatório - Canais TV PT</title>
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link href="https://vjs.zencdn.net/7.20.3/video-js.css" rel="stylesheet" />
<script defer src="https://vjs.zencdn.net/7.20.3/video.min.js"></script>
<script src="script.js" defer></script>
</head>
<body>
<header class="site-header">
<div class="logo"><a href="index.html"><img src="logo.png" alt="CanaisTVPT logo"></a></div>
<button class="menu-toggle" aria-label="Abrir menu">☰</button>
<nav class="main-nav">
<ul>
<li><a href="desporto.html">Desporto</a></li>
<li><a href="noticias.html">Notícias</a></li>
<li><a href="secundarios.html">Secundários</a></li>
<li><a href="internacionais.html">Internacionais</a></li>
<li><a href="fildocnov.html">Filmes/Doc./Novelas</a></li>
<li><a href="radios.html">Rádios</a></li>
<li><a href="banda_d.html">Desenhos Anim.</a></li>
<li><a href="aleatorio.html">Aleatório</a></li>
<li><a href="gaming.html">Gaming</a></li>
<li><a href="sobre.html">Sobre</a></li>
</ul>
</nav>
</header>
<main class="container">
<nav id="nav_escolha">
<a id="escolha_canal" href="#home" onclick="changeChannel('escolha_not/escolha.mp4', 'escolha_not/escolha.png'); return false;">Home</a>
<a id="escolha_canal" href="#travelxp" onclick="changeChannel('https://b3cc72d0160f4e168712e880c78c4dcc.mediatailor.us-east-1.amazonaws.com/v1/master/44f73ba4d03e9607dcd9bebdcb8494d86964f1d8/RakutenTV-pt_TravelXP/playlist.m3u8', 'https://raw.githubusercontent.com/thomraider12/icones_tv/main/travelxp.png'); return false;">TravelXP<sup>HD</sup></a>
<a id="escolha_canal" href="#5mincrafts" onclick="changeChannel('https://rakutenaa-soul-5mincraftenglish-rakuten-du9p7.amagi.tv/playlist/rakutenAA-soul-5mincraftenglish-rakuten/playlist.m3u8', 'https://raw.githubusercontent.com/thomraider12/icones_tv/main/5mincrafts.png'); return false;">5 Minutes Crafts<sup>HD (ENG)</sup></a>
<a id="escolha_canal" href="#failarmy" onclick="changeChannel('https://cfd-v4-service-channel-stitcher-use1-1.prd.pluto.tv/stitch/hls/channel/554158e864526b29254ff105/master.m3u8?advertisingId=&appName=web&appVersion=unknown&appStoreUrl=&architecture=&buildVersion=&clientTime=0&deviceDNT=0&deviceId=13cb0c0a-f1e6-11ef-8b9c-8f65ffe96131&deviceMake=Chrome&deviceModel=web&deviceType=web&deviceVersion=unknown&includeExtendedEvents=false&sid=39ab40ee-9dc5-4c21-92b4-e3c0a4854ce7&userId=&serverSideAds=true', 'https://raw.githubusercontent.com/thomraider12/icones_tv/main/failarmy.png'); return false;">FailArmy<sup>HD (ENG)</sup></a>
<a id="escolha_canal" href="#lovenature4k" onclick="changeChannel('https://aegis-cloudfront-1.tubi.video/dc8bda97-ce9e-4091-b4e8-11254dea4da6/playlist.m3u8', 'https://raw.githubusercontent.com/thomraider12/icones_tv/main/lovenature4k.png'); return false;">Love Nature<sup>4K (ENG)</sup></a>
<a id="escolha_canal" href="#fireplace4k" onclick="changeChannel('https://d22w22d3eu3t35.cloudfront.net/playlist.m3u8', 'https://raw.githubusercontent.com/thomraider12/icones_tv/main/fireplace4k.png'); return false;">Fireplace<sup>4K</sup></a>
<a id="escolha_canal" href="#stingraynaturescape" onclick="changeChannel('https://d39g1vxj2ef6in.cloudfront.net/v1/manifest/3fec3e5cac39a52b2132f9c66c83dae043dc17d4/prod-rakuten-stitched/bd42ac1e-451b-4930-a0d4-fa159bd4cb97/3.m3u8', 'https://raw.githubusercontent.com/thomraider12/icones_tv/main/stingraynaturescape.png'); return false;">Stingray Naturescape<sup>HD</sup></a>
</nav>
<video
id="escolha_player"
class="video-js"
controls
preload="auto"
width="900"
height="500"
poster="escolha_not/escolha.png"
data-setup="{}"
>
<source
id="video_source"
src="escolha_not/escolha.mp4"
type="video/mp4"
/>
</video>
<script>
document.addEventListener('DOMContentLoaded', function () {
var player = videojs('escolha_player');
window.changeChannel = function(url, poster) {
player.poster(poster);
player.src({ src: url, type: url.endsWith('.m3u8') ? 'application/x-mpegURL' : 'video/mp4' });
// Adiciona um atraso de 500ms antes de reproduzir o vídeo
setTimeout(function() {
player.play();
}, 500);
};
});
</script>
</main>
<footer>Feito por Tomás Afonso. 2026 ©</footer>
</body>
</html>