Solved

iphone, html audio dies when iPhone goes to sleep

Posted on 2014-10-29
2
173 Views
Last Modified: 2014-11-15
I have a website that streams music. When I view it on my Website, everything works fine until the phone goes to sleep . The audio stops.

Some websites and apps play audio even when screen fades to sleep?

Is their some advice or code I can add to the html (or php) to keep the audio playing?
0
Comment
Question by:edavo
2 Comments
 
LVL 12

Accepted Solution

by:
KRUNAL TAILOR earned 500 total points
ID: 40428851
Hi edavo,

you can prevent the phone to sleep using an audio loop. The trick won't start automatically, you will have to play it when the user touches the screen.

<audio loop src="http://www.sousound.com/music/healing/healing_01.mp3"></audio>

Open in new window


Thanks & Regards,
Krunal T. Tailor
0
 

Author Closing Comment

by:edavo
ID: 40444189
Works - but not a viable solution for serving music.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Hello fellow iPad users, Check for software updates by going to itunes.com and download the latest version of iTunes and installing it. It makes a big difference in the drivers it install for your iPad and when syncing other apple devices such a…
What is Backup? Backup software creates one or more copies of the data on your digital devices in case your original data is lost or damaged. Different backup solutions protect different kinds of data and different combinations of devices. For e…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now