This is a migrated thread and some comments may be shown as answers.

iPad audio control plays only once

1 Answer 86 Views
Window
This is a migrated thread and some comments may be shown as answers.
Clive Hoggar
Top achievements
Rank 1
Clive Hoggar asked on 03 Dec 2013, 04:19 PM
I am experiencing  a problem with playing mp3 audio on iPad within a window, while the same code running in a test page NOT USING A WINDOW runs fine. The audio player is the simple <audio> control supported by html 5

The symptom of the problem is that in the window, the text and controls show fine initially, and the audio will play, but if the window is then closed and a new window opened, the window text shows and remains, but the audio control shows for about 1 second and then disappears!

If I purge all memory of the site from the iPad and revisit the site, again the audio will show up and play once only.

Can anyone suggest what to do next? This is a problem on Safari on iPhone and iPad (IOS7).

I have inserted nocache etc in the code for the page displayed in the window, but it doesn't have any effect.

I can confirm that the window works normally on Safari 5 on my mac. It is just iPad and iPhone where the problem arises.

Thanks for any ideas!

Clive

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 05 Dec 2013, 11:47 AM
Hi Clive,

Thank you for your feedback.

This appears to be a known issue. You can find it and vote for it here in our Telerik Feedback Portal.
I am sending you a demo pages set. When you move or resize RadWindow, the audio tag disappears. Audio does not stop playing, however.
 If Behaviors="None" is set (<telerik:RadWindowManager ID="RadWindowManager1" runat="server" ReloadOnShow="true" Behaviors="None"></telerik:RadWindowManager>), then the audio element does not disappear because the RadWIndow cannot be moved or resized.

You may try to use Content Template instead of a simple page for RadWindow. You can find how to set it in the RadWindow - Content Template demo. I hope this can solve your issue.

If the issue reproducible in the demo pages I send you is not the one that you've experienced, do not hesitate to contact us again. In order to be able to further isolate the issue, please specify the RadControls Version you use. Providing a sample page where your issue is replicated would be highly appreciated. You could use my sample as base and post the changes that need to be made, and the steps that lead to the problem.

Regards,
Dimitar
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Window
Asked by
Clive Hoggar
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or