mirror of
https://github.com/SrIzan10/vdo.ninja.git
synced 2026-05-01 11:05:24 +00:00
Merge pull request #1150 from yonghuang28/yonghuang28-patch-1
&feedbackbutton tweak
This commit is contained in:
7
main.js
7
main.js
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user