Giter Site home page Giter Site logo

Comments (10)

IonDen avatar IonDen commented on May 20, 2024

Hi, i never thought about this situation. Let's pretend that it is a bug. In few days i will try to find some time and check how we can handle this situation.

from ion.sound.

CoericK avatar CoericK commented on May 20, 2024

Thank you for your fast answer @IonDen, i will be waiting for news.

from ion.sound.

IonDen avatar IonDen commented on May 20, 2024

Hi, just checked on my iPhones safari browser.
It seems to be working correctly, sounds are playing only if the silent mode is off.

Please provide more info about your testing environment.

from ion.sound.

CoericK avatar CoericK commented on May 20, 2024

Im testing it on a Samsung Galaxy A5, Android 4.4.4.

 ion.sound({
                sounds: [
                    {name: 'pop_hi'}
                ],

                // main config
                path: '/assets/audio/pop_hi/',
                preload: true,
                multiplay: true,
                volume: 1
            });

            var soundEveryButton = function () {
                ion.sound.play('pop_hi');
            };

from ion.sound.

CoericK avatar CoericK commented on May 20, 2024

Every time a user click on a button i call soundEveryButton it works but it works even when silent mode is on

from ion.sound.

IonDen avatar IonDen commented on May 20, 2024

Ok i will try on my Nexus. It has android 5.x.

from ion.sound.

CoericK avatar CoericK commented on May 20, 2024

Hello @IonDen did u make the test?

from ion.sound.

IonDen avatar IonDen commented on May 20, 2024

Hi @CoericK
I made a test on Google Nexus 7 (Android 5.1.1) Latest Chrome Browser.
Everything seems to be ok. Sound volume is following device volume. I device is on zero volume, nothing to hear.

Maybe it is some Android 4.x bug. I don't know what to do more.
Besides, there is no way to know from browser device sound status. I din't found such APIs

from ion.sound.

CoericK avatar CoericK commented on May 20, 2024

Hi @IonDen Then what could be making my app behave on that way? Maybe i need to upgrade my library?

from ion.sound.

IonDen avatar IonDen commented on May 20, 2024

Sorry, but i have no more ideas.

from ion.sound.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.