Bug 151589 - [WebAudio] Cannot change volume of media element source
Summary: [WebAudio] Cannot change volume of media element source
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Audio (show other bugs)
Version: Safari 9
Hardware: iPhone / iPad iOS 9.0
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-24 08:42 PST by Ashley Gullen
Modified: 2024-07-26 14:35 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ashley Gullen 2015-11-24 08:42:58 PST
Demo URL: https://www.scirra.com/labs/bugs/musicvol/

Tested on an iPad Air 2 running iOS 9.1. Press "Play music" then when you can hear the music, press either of the "set volume" buttons. Neither of them change the volume. The demo creates a new Audio() and connects it to a Web Audio context via createMediaElementSource() which is itself connected to a gain node. The buttons change the gain node volume and the Audio object's volume. Neither have any effect on the playback volume. Both options work in Chrome, Firefox and Edge on Windows 10.

This prevents Construct 2 content being able to change the volume of music in iOS.