add radio nacional

This commit is contained in:
Xaloc 2021-01-15 18:03:25 +01:00
parent 95412d74f5
commit 240223ec7b
3 changed files with 44 additions and 0 deletions

View File

@ -28,6 +28,10 @@
<button onClick='rac1.show()'>Rac 1</button> <button onClick='rac1.show()'>Rac 1</button>
<button onClick='rac105.show()'>Rac 105</button> <button onClick='rac105.show()'>Rac 105</button>
</p> </p>
<h3>RNE</h3>
<p>
<button onClick='rne.show()'>Radio Nacional</button>
</p>
<h3>France</h3> <h3>France</h3>
<p> <p>
<button onClick='franceInfo.show()'>France Info</button> <button onClick='franceInfo.show()'>France Info</button>

39
rne.html Normal file
View File

@ -0,0 +1,39 @@
<!DOCTYPE html>
<html>
<!-- <body>
<audio autoplay=true controls>
<source src="https://hlsliveamdgl0-lh.akamaihd.net/i/rnerne_1@586398/master.m3u8" type="audio/mpegURL">
<source src="http://shoutcast.ccma.cat/ccma/catalunyainformacioHD.mp3"/>
</audio>
</body> -->
<head>
<link href="https://vjs.zencdn.net/7.10.2/video-js.css" rel="stylesheet" />
<!-- If you'd like to support IE8 (for Video.js versions prior to v7) -->
<!-- <script src="https://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"></script> -->
</head>
<body>
<audio
id="my-video"
class="video-js"
controls
preload="auto"
width="640"
height="264"
data-setup="{}"
autoplay=true
>
<source src="https://hlsliveamdgl0-lh.akamaihd.net/i/rnerne_1@586398/master.m3u8" type="audio/mpegURL"/>
<p class="vjs-no-js">
To view this video please enable JavaScript, and consider upgrading to a
web browser that
<a href="https://videojs.com/html5-video-support/" target="_blank"
>supports HTML5 video</a
>
</p>
</audio>
<script src="https://vjs.zencdn.net/7.10.2/video.min.js"></script>
</body>
</html>

View File

@ -19,3 +19,4 @@ var almaina = new station('http://zeppelin.streampunk.cc/_stream/almaina.ogg');
var rac1 = new station('https://streaming.rac1.cat/'); var rac1 = new station('https://streaming.rac1.cat/');
var rac105 = new station('https://streaming.rac105.cat/'); var rac105 = new station('https://streaming.rac105.cat/');
var franceInfo = new station('https://icecast.radiofrance.fr/franceinfo-midfi.mp3'); var franceInfo = new station('https://icecast.radiofrance.fr/franceinfo-midfi.mp3');
var rne = new station('rne.html');