Skip to content

Commit

Permalink
disable autoplay workaround (causing some issues with Firefox)
Browse files Browse the repository at this point in the history
  • Loading branch information
mangui committed Apr 10, 2015
1 parent 4b5197a commit be17f4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="title"><a href="https://github.com/dailymotion/hls.js">hls.js</a> dem
<div id="customButtons"></div>
<pre id='HlsUrl'></pre>
<pre id='HlsStatus'></pre>
<video id=video controls autoplay"" border="4"></video>
<video id=video controls autoplay border="4"></video>
<canvas id="buffered_c" width="640" height="15" onclick="buffered_seek(event)";></canvas> <br>
<div id='buttons'>
<button type="button" class="btn btn-sm btn-success" onclick="document.getElementById('video').play()">play()</button>
Expand Down Expand Up @@ -150,7 +150,7 @@ <h3> Test Videos </h3>
bufferingIdx = -1;
hls.attachSource(_url);
// video tag is in autoplay but firefox does not handle properly autoplay with MSE
video.play();
//video.play();
});
hls.on(hls.Events.FRAG_PARSING_INIT_SEGMENT,function(event,data) {
showCanvas();
Expand Down

0 comments on commit be17f4e

Please sign in to comment.