Skip to content

Commit

Permalink
Update docs now that Edge and Safari work. Also handle browsers that …
Browse files Browse the repository at this point in the history
…don't support nullish coalescing.
  • Loading branch information
jeffkaufman committed Sep 29, 2021
1 parent c2c93af commit 398d9b5
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ <h3>Debug Info</h3>

<ul>
<li>A computer (not a phone or tablet)
<li>Chrome or Firefox
<li>Up-to-date Chrome, Firefox, Edge, or Safari
<li>Ideally, wired headphones. For multiple people, headphone splitters are ~$5 and work well (<a target=_blank href="https://smile.amazon.com/Belkin-Speaker-and-Headphone-Splitter/dp/B00009WQSR/">2-way</a>, <a target=_blank href="https://smile.amazon.com/AmazonBasics-5-Way-Headphone-Splitter-5-Pack/dp/B0719LFLKG/">5-way</a>).
</ul>

Expand Down Expand Up @@ -1001,17 +1001,10 @@ <h3>Something else weird is going on</h3>
<div>

<p>
It looks like you're not using Chrome or Firefox. Unfortunately,
this doesn't yet work in other browsers because they don't have AudioWorklet.
It looks like your browser is too old. Try using the most
recent version of Chrome, Firefox, Edge, or Safari.
</p>

<div id=macOsSafariOfferTP>
If you're on macOS and using Safari is important to you, you can
download <a
href="https://developer.apple.com/safari/download/">Safari
Technology Preview</a>, which does include AudioWorklet.
</div>

<p>
While we don't recommend trying to continue anyway, because it will
probably fail silently and just be frustrating for you, if you want
Expand Down Expand Up @@ -1189,7 +1182,7 @@ <h3>Something else weird is going on</h3>
<ul>
<li>Restarting your browser.
<li>Restarting your computer.
<li>Switching from Chrome to Firefox or vice-versa.
<li>Switching to another browser (Chrome, Firefox, Edge, or Safari)
<li>Refreshing the page and choosing "Only Listening" to skip calibration.
</ul>
</ul>
Expand Down Expand Up @@ -1420,9 +1413,6 @@ <h2>Then refresh the page and try again.</h2>
} else {
showingWarningPane = false;
}
} else {
window.macOsSafariOfferTP.style.display =
navigator.userAgent.includes("Mac OS X") ? "block" : "none";
}


Expand Down Expand Up @@ -1499,4 +1489,13 @@ <h2>Then refresh the page and try again.</h2>

<script type="module" src="./demo.js"></script>

<script>
window.setTimeout(function() {
if (window.singer_client === undefined) {
showPane("UnsupportedBrowser");
}
}, 2000);
window.singer_client
</script>

</html>

0 comments on commit 398d9b5

Please sign in to comment.