-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: janusweb action: commit revision: path_from: revision_from: 770fcb67590a7861b621e0f3131f6c4cd2051f1c: path_to: revision_to:
commit 770fcb67590a7861b621e0f3131f6c4cd2051f1c Author: James Baicoianu <james_github@baicoianu.com> Date: Wed Oct 21 22:55:06 2020 -0700 Add remoteplayer.setVolume() diff --git a/scripts/remoteplayer.js b/scripts/remoteplayer.js
--- a/scripts/remoteplayer.js +++ b/scripts/remoteplayer.js @@ -150,6 +150,11 @@ elation.component.add('engine.things.remoteplayer', function() { }); } } + this.setVolume = function(volume) { + if (this.mouth) { + this.mouth.audio.gain.gain.value = volume; + } + } }, elation.engine.things.janusghost); });
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 16:24:09 2024