Permalink
Browse files

Fix chrome autoplay

  • Loading branch information...
pldubouilh committed May 20, 2018
1 parent b96d3f7 commit 1655030288f45af5d8f3d7bedfc45f9d3a35627a
Showing with 3 additions and 1 deletion.
  1. +2 −0 client/index.html
  2. +1 −1 package.json
View
@@ -28,6 +28,8 @@ <h1>Simple demo for <a href="https://github.com/pldubouilh/live-torrent">live-to
window.onload = () => {
const video = document.getElementById('video')
video.volume = 0
video.muted = true
video.autoplay = true
const hls = new Hls()
hls.loadSource('manifest.m3u8')
hls.attachMedia(video)
View
@@ -1,6 +1,6 @@
{
"name": "live-torrent",
"version": "0.0.5",
"version": "0.0.6",
"description": "",
"main": "index.js",
"scripts": {

0 comments on commit 1655030

Please sign in to comment.