Commit a5dfc6b1 authored by Nicolas Dufresne's avatar Nicolas Dufresne
Browse files

Enable <video> controls

There is autoplay policy in recent browser that cause both HLS and
WebRTC to be in pause when page is loaded. Autoplay will work if the
demo was started by a user interaction, we may consider this later
instead, but for now having the controls to press play works.
parent 59193046
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
</header> </header>
<div id="videos"> <div id="videos">
<div class="display_container"> <div class="display_container">
<video id="hls_video" autoplay></video> <video id="hls_video" autoplay controls></video>
<div>HLS</div> <div>HLS</div>
</div> </div>
<div class="display_container"> <div class="display_container">
<video id="webrtc_video" autoplay></video> <video id="webrtc_video" autoplay controls></video>
<div>WebRTC</div> <div>WebRTC</div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment