Skip to content

Commit

Permalink
Merge pull request #1150 from yonghuang28/yonghuang28-patch-1
Browse files Browse the repository at this point in the history
&feedbackbutton tweak
  • Loading branch information
steveseguin authored Nov 1, 2024
2 parents 7cb322a + 3a4ecd0 commit e512cc4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,12 @@ async function main() {

if (urlParams.has("feedbackbutton") || urlParams.has("fb")) {
getById("unmuteSelf").classList.remove("hidden"); // lets the director see the avatar option
session.selfVolume = urlParams.get("fb") || null;
//session.selfVolume = urlParams.get("fb") || null;
session.selfVolume = urlParams.get("feedbackbutton") || urlParams.get("fb") || null;
if (session.selfVolume){
getById("unmuteSelf").setAttribute("title", `Hear yourself at ${parseFloat(session.selfVolume)}% volume`);
getById("unmuteSelf").setAttribute("alt", `Hear yourself at ${parseFloat(session.selfVolume)}% volume`);
}
}

if (urlParams.has("controls") || urlParams.has("videocontrols")) {
Expand Down

0 comments on commit e512cc4

Please sign in to comment.