-
Notifications
You must be signed in to change notification settings - Fork 0
/
natiocine.html
27 lines (24 loc) · 2.78 KB
/
natiocine.html
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
<html><head>
<title>natio tv</title>
</head>
<body>
<video id="vid" preload="true" autoplay="true" controls width="500" height="280">
<source src="https://ia801301.us.archive.org/3/items/natio/natio.mp4" type="video/mp4">
</video>
<script>
// el array de los videos
let vids = ["https://ia801203.us.archive.org/27/items/natiostates/natiostates.ia.mp4","https://ia801701.us.archive.org/21/items/la-rebelion-de-las-maquinas-1986_202011/La%20Rebelion%20de%20las%20Maquinas%20%281986%29.mp4","https://ia902900.us.archive.org/5/items/rashomon-subtitulado-espanol/Rashomon_subtitulado_espanol.mp4","https://ia601901.us.archive.org/15/items/ringu-el_circulo-esp/Ringu%20-By%20ProdigyO-.mp4","https://ia902907.us.archive.org/0/items/planeta_prohibido/planeta_prohibido.mp4","http://podcast.unam.mx/FILMOTECAUNAM/cinelinea/18LustrosWeb/lustro18/lustro18.mp4","https://ia804606.us.archive.org/5/items/1091-mujeres-salvajes-1984-tvrip-lat-mx-v.mkv/1091-Mujeres_Salvajes_%281984%29_TVRip_Lat_mx_v.mkv.mp4","https://ia600505.us.archive.org/9/items/Star_Wreck_In_the_Pirkinning_VOScastellano/Star_Wreck_In_the_Pirkinning_VOScastellano.mp4","https://ia802305.us.archive.org/34/items/videotime-cine-latino/Volver%20al%20futuro%201.mp4","https://ia802305.us.archive.org/34/items/videotime-cine-latino/Wall-e.mp4","https://ia802305.us.archive.org/34/items/videotime-cine-latino/Mi%20villano%20favorito%201.mp4","https://ia804605.us.archive.org/18/items/koni-espanol-latino-tv-rip/Koni-chan%20-%2001-1%20-%20Koni%20la%20estrella%20%28300p_25fps_H264-96kbit_AAC%29.mp4","https://ia904705.us.archive.org/9/items/burger-kin/%23NEGAS%20-%20Burger%20Kin%2001.mp4","https://ia904608.us.archive.org/29/items/la-ley-y-el-desorden/1-%20La%20Ley%20Y%20El%20Desorden.mp4","https://ia601201.us.archive.org/22/items/3_20231219_20231219/3.mp4","https://ia800500.us.archive.org/34/items/videoplayback_20231107/videoplayback.mp4","https://ia904704.us.archive.org/6/items/pinky-y-cerebro-1/1x01%20-%20El%20viaje%20a%20la%20conquista%20del%20mundo.mp4","https://ia903100.us.archive.org/30/items/Rambo1/Rambo.ogv","https://ia902305.us.archive.org/34/items/videotime-cine-latino/Los%20Minions.mp4","https://ia801407.us.archive.org/9/items/stationnatio/stationnatio.mp4","https://ia601409.us.archive.org/7/items/5-episodios-profundos-en-series-de-tu-infancia/5%20Episodios%20Profundos%20en%20Series%20de%20tu%20Infancia.mp4","https://ia902305.us.archive.org/34/items/videotime-cine-latino/Wall-e.mp4"]
// la longitud del array de los videos
let leng = vids.length;
// un numero utilizado para saber que video se está reproduciendo
let n = 0;
// utilizo el evento "ended" para saber si el video se ha acabado
vid.addEventListener("ended",()=>{
// si el video se ha acabado cambia el atributo src
vid.setAttribute("src", vids[n%leng]);
n++;
}
)
</script>
</body>
</html>