Merge pull request #11112 from antobinary/2.3-recover-guest-join
Correct path to silence.mp3
This commit is contained in:
commit
4758cf8464
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user