For help with installation, bugs reports or feature requests, please head over to our new forums.
	
Genuitec Community on GitHub
- This topic has 11 replies, 4 voices, and was last updated 12 years, 8 months ago by lemorlenny. 
- 
		AuthorPosts
- 
		
			
				
 NigelShawMemberHi, 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 December 11, 2012 at 10:01 am #333261
 JustJohnMemberHey 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 December 11, 2012 at 12:31 pm #333270
 support-michaelKeymasterHi 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.December 12, 2012 at 5:45 pm #333306
 NigelShawMemberHi 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 December 12, 2012 at 5:57 pm #333307
 support-michaelKeymasterHi 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. December 12, 2012 at 8:17 pm #333310
 JustJohnMemberNigel, 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 December 13, 2012 at 10:13 am #333328
 NigelShawMemberHi 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 December 13, 2012 at 12:00 pm #333329
 JustJohnMemberHey 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 December 13, 2012 at 9:54 pm #333348
 NigelShawMemberHi John Yes if you could do that, it would be amazing Thanks for your help 🙂 Nigel December 14, 2012 at 12:05 am #333353
 JustJohnMemberHey 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 December 14, 2012 at 3:47 am #333359
 support-michaelKeymaster@JustJohn, Nigel, Many 3rd player audio apps on iOS do not provide volume control, e.g., pandora, amazon… February 13, 2013 at 12:39 pm #335377
 lemorlennyMembererr. 
- 
		AuthorPosts

