diff --git a/test/multi-peer-mesh.test.js b/test/multi-peer-mesh.test.js index c6f8447..6793afd 100644 --- a/test/multi-peer-mesh.test.js +++ b/test/multi-peer-mesh.test.js @@ -51,6 +51,7 @@ function extractConst(name){ const watchSrc = extractFn(/function watchVideoTrackForRemoval\(/); const firstFrameSrc = extractFn(/function watchFirstFrame\(/); +const swapVideoSrc = extractFn(/function swapFreshVideoElement\(/); const renderTileSrc = extractFn(/function renderVideoTile\(/); const removeTileSrc = extractFn(/function removeVideoTile\(/); const renderScreenShim = extractFn(/function renderScreenTile\(/); @@ -231,6 +232,7 @@ function makeBrowser(name, pubKeyHex){ tileKindsSrc + '\n' + watchSrc + '\n' + firstFrameSrc + '\n' + + swapVideoSrc + '\n' + renderTileSrc + '\n' + removeTileSrc + '\n' + renderScreenShim + '\n' + diff --git a/web/zebra-spaces.html b/web/zebra-spaces.html index 5984ad4..dd97784 100644 --- a/web/zebra-spaces.html +++ b/web/zebra-spaces.html @@ -1869,6 +1869,26 @@ function updateContainerVisibility(){ $('tiles-h2').classList.toggle('hidden', !anyThumb); } +/* Replace a