SorovotPelo commited on
Commit
073eae8
·
verified ·
1 Parent(s): 6f8741d

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +5 -1
index.html CHANGED
@@ -11,11 +11,15 @@
11
  <body>
12
  <h1>Servidor de Radio M3U8 Activo</h1>
13
  <video id="my-video" class="video-js vjs-default-skin" controls preload="auto" width="600" height="300">
14
- <source src="/stream.m3u8" type="application/x-mpegURL">
15
  Tu navegador no soporta HTML5.
16
  </video>
17
 
18
  <!-- Video.js JS -->
19
  <script src="https://vjs.zencdn.net/7.21.0/video.min.js"></script>
 
 
 
 
20
  </body>
21
  </html>
 
11
  <body>
12
  <h1>Servidor de Radio M3U8 Activo</h1>
13
  <video id="my-video" class="video-js vjs-default-skin" controls preload="auto" width="600" height="300">
14
+ <source src="app/stream.m3u8" type="application/x-mpegURL">
15
  Tu navegador no soporta HTML5.
16
  </video>
17
 
18
  <!-- Video.js JS -->
19
  <script src="https://vjs.zencdn.net/7.21.0/video.min.js"></script>
20
+ <script>
21
+ var player = videojs('my-video');
22
+ player.play();
23
+ </script>
24
  </body>
25
  </html>