Merge pull request #11112 from antobinary/2.3-recover-guest-join

Correct path to silence.mp3
This commit is contained in:
Anton Georgiev 2021-01-06 11:39:47 -05:00 committed by GitHub
commit 4758cf8464
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -429,7 +429,7 @@ class AudioManager {
// Play bogus silent audio to try to circumvent autoplay policy on Safari // Play bogus silent audio to try to circumvent autoplay policy on Safari
if (!audio.src) { if (!audio.src) {
audio.src = `${Meteor.settings.public.app.cdn audio.src = `${Meteor.settings.public.app.cdn
+ Meteor.settings.public.app.basename + Meteor.settings.public.app.instanceId}` + 'resources/sounds/silence.mp3'; + Meteor.settings.public.app.basename + Meteor.settings.public.app.instanceId}` + '/resources/sounds/silence.mp3';
} }
audio.play().catch((e) => { audio.play().catch((e) => {