From 1dd4f7142d5f6b818eaf3004e9f0a7990620baea Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Tue, 12 Apr 2022 10:53:15 +0200 Subject: [PATCH] Pass params to `video.h264` from `video.html` --- html/video.html | 52 ++++++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/html/video.html b/html/video.html index 4b66c19..8f48534 100644 --- a/html/video.html +++ b/html/video.html @@ -6,38 +6,38 @@ @@ -57,7 +57,7 @@ top: 0; left: 0; bottom: 0; right: 0; debug: false }); - fetch('/video.h264').then(function(response) { + fetch('/video.h264' + window.location.search).then(function(response) { console.log(response); const reader = response.body.getReader();