Play MP3 files on website in Mobile Safari / iOS8? - html

MP3 files stopped working in Mobile Safari in iOS 8 (8.0.2 as of today). They won't play when I link directly to them. They won't play when I put them in proper HTML5-compliant audio tags.
Both used to work with iOS 7. (Autoplay doesn't but that's by design.)
Any recommendations for a workaround?

Related

Why the HTML5 <audio> not working in Safari web browser?

I had implemented the HTML5 audio in the background on the following web site:
https://praxishelena.ch
When I open the web site, or when I click on a link, I can hear music on my Windows PC, and on Android device using Chrome, but on IPhone using Safari, not.
I was implementing music, using the following:
<audio src="wp-content/uploads/foldername/filename.mp3" style="display: none;" autoplay loop />
I need music in background without controlls for stopping, pausing, and volume change.
How to enable this to work in Safari?
Best regards,
Darko
Certain HTML functions work differently or don't work on certain versions of certain browsers. Try checking what version it is using. Normally, Safari should support MP3 files. It only doesn't support .ogg files.

Unable to play video in IE 11

When I try to access a mp4 video url in IE 11 it prompts the user to download the video instead of playing it in the browser. But I am able to play the video in Chrome/Firefox. Here is a sample url, https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4
Is it because IE 11 does not have any in-built Media Player
How to make the video stream in IE 11 instead of prompting the user to download. Kindly help. I am using Windows 10 and IE 11.471.17134.0. Thanks!
Its because it is a file. It has extension .mp4
Any link with file in end will be downloading, except in modern browsers this option has changed to autoplay, since a player has been embeded in modern browsers. Thats why opening video or audio file with most popular extensions like .mp4 will be auto playable.
If on modern you want to download, then from menu toolbar choosing File->save (shortcut CTRL+S) on some for better faster response can right click and choose save video.
On IE it does just basic downloading.
Anyways would recommend to let IE stay on its own way and not use it for malware insecurities and vulnerabilities. Use from securest ones Chrome, Opera, Firefox or any other top browsers.

for the same video, why can not play it in safari and chrome on mobile?

I an unable to get the a video to play on my iPhone 7.
I thought it might have just been a Safari issue but it’s also happening on Chrome on my iPhone which I think is still web-kit.
the video link as following: http://misc.saohuijia.com/bdtmobile/video/ugo.mp4
Suggestions:
be sure the video linked is valid: e.g. try other mp4 files: http://camendesign.com/code/video_for_everybody/test.html
install 3rd-party players, e.g. "VLC for iOS"

How can i make a Flash-free, basic audio control?

I need to make a basic audio control: one audio file, play and pause buttons, no more.
I cannot use Flash at all - this website will only be used if the client does not have flash enabled.
HTML5 does not seem to be a good solution because my target clients (who do not enable Flash) most likely won't have modern browsers. Even worse, Safari does not seem to play the best solution available (jPlayer).
The lastest versions of all the main browsers (IE, Chrome, FF, Safari, Mobile Safari, Android) can play audio natively using the HTML5 audio element (so long as the media is encoded in a supported format).
IE6,7 and 8 can only play audio directly in the browser with the help of plugs-ins (e.g. Quicktime, Flash etc.).
So, if you have IE8 or less i'm afraid you cannot play audio directly in the browser without Flash or another plug-in.

Playing an audio file, from a web page, on a smartphone

I'm creating an alternate page of a web site just for smartphones that needs to play an audio file. I can reformat for mp3, ogg, wav, whatever works. I've tried the HTML5 "audio" tag and tested on an iPhone, with no luck. Anyone have any ideas and/or a link to a page that works? -Thanks
Each phone is going to be a bit different, in what it supports. Many devices support Flash, but not iOS. It all depends on which platforms you are targeting.
If the audio doesn't have to be playing with the page visible, you can try just linking to a playlist file (such as m3u or pls). Any device I've tested with supports this method, except for Android. For Android, just load Flash.