facebook

Volume

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #333224 Reply

    NigelShaw
    Member

    Hi,

    i know that volume or sliders are not currently available in Mobione but is there a way of making one with jquery or javascript to provide a screen volume control?

    i found a really nice and simple one in HTML & javascript that works really nice, but not in Mobi. it doesnt appear in the html box.

    Has anyone managed to make a volume control as of yet?

    thanks

    Nigel

    #333261 Reply

    JustJohn
    Member

    Hey Nigel,

    Take a look at this link http://jquerymobile.com/demos/1.2.0/docs/forms/slider/
    jQuery mobile is pretty easy to implement and the site has a ton of examples. The only drawback is that you will have to add your code directly in the HTML widget or the test center – view source section as these widgets will not show up in the GUI design center.
    Hope that helps.

    John

    #333270 Reply

    support-michael
    Keymaster

    Hi Nigel,
    I want to share that there is not a common volume control api available for ios and android apps. MobiOne App Center Builder use the cordova/phonegap 2.1 framework and api.

    #333306 Reply

    NigelShaw
    Member

    Hi guys

    Thanks for the replies. I’m aware that there isn’t a common API for iOS but, you can control the volume if a web page through JavaScript?

    That or a fixed volume :s

    Thanks again

    Nigel

    #333307 Reply

    support-michael
    Keymaster

    Hi Nigel,

    > but, you can control the volume if a web page through JavaScript?

    Unlike desktop browser volume control as far as I know you can not control volume on iOS device via javascript. If you find a running example that proves otherwise please share it.

    #333310 Reply

    JustJohn
    Member

    Nigel,

    Are you trying to adjust the volume of the device or the volume of a media file that you are playing?
    Because you can adjust the volume of a media file that your program is playing.

    John

    #333328 Reply

    NigelShaw
    Member

    Hi John

    Either really. If I can’t change the volume of the device itself, the volume of the media would be the next option 🙂

    Would you be so kind as to explain how I could do this and if at all possible, how to implement it into mobi? I know that I would need to se a HTML box which is fine but its getting the code working :s

    Many thanks for your help 🙂

    Nigel

    #333329 Reply

    JustJohn
    Member

    Hey Nigel,

    If it’s changing the volume of an audio file that you want to load in the app I will try to post an example later this evening.

    John

    #333348 Reply

    NigelShaw
    Member

    Hi John

    Yes if you could do that, it would be amazing

    Thanks for your help 🙂

    Nigel

    #333353 Reply

    JustJohn
    Member

    Hey Nigel,

    After some testing and research it seems that the audio/video volume cannot be adjusted on iOS devices through javascript.
    The user must physically adjust volume on the device. Sorry, I didn’t notice that quirk until I started testing.

    John

    #333359 Reply

    support-michael
    Keymaster

    @JustJohn, Nigel,

    Many 3rd player audio apps on iOS do not provide volume control, e.g., pandora, amazon…

    #335377 Reply

    lemorlenny
    Member

    err.

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Volume

You must be logged in to post in the forum log in