Copy link to clipboard
Copied
Hi, Audio is not playing on IPAD but working fine on android and browsers, it is playing after touching the screen, i changed allowDefault to true, but it is also not working, i refered the comment 3 from following link https://forums.adobe.com/thread/1375546
I believe iOS will NEVER play audio in the browser unless some user action initiates it.
Copy link to clipboard
Copied
do you have a question?
Copy link to clipboard
Copied
Yes i have ...... why it is not working in ipad ?
Copy link to clipboard
Copied
read the link you posted or read message 2 or if you want apple to change how ios handles apps, write to apple.
Copy link to clipboard
Copied
Safari HTML5 Audio and Video Guide - iOS-Specific Considerations
In Safari on iOS (for all devices, including iPad), where the user may be on a cellular network and be charged per data unit, preload and autoplay are disabled. No data is loaded until the user initiates it. This means the JavaScript
play()
andload()
methods are also inactive until the user initiates playback, unless theplay()
orload()
method is triggered by user action. In other words, a user-initiated Play button works, but anonLoad="play()"
event does not.This plays the movie:
<input type="button" value="Play" onclick= "document.myMovie.play()">
This does nothing on iOS:
<body onload="document.myMovie.play()">
Copy link to clipboard
Copied
Hi,
I need solution with out any button click(user interaction).
Copy link to clipboard
Copied
There isn't one. This is an intentional limitation. There's no way to work around it.
Copy link to clipboard
Copied
I believe iOS will NEVER play audio in the browser unless some user action initiates it.