Melodeon.net Forums
Discussions => General Discussion => Topic started by: Andy in Vermont on March 01, 2012, 06:03:06 PM
-
I have noticed that the MP3 player that I use in my blog is not compatible when my blog is viewed on an iPad. Does anyone have any recommendations for an audio player that I could use so that iPad users can listen to my audio clips?
I am really unknowledgeable about these things, so what I really need is html code that I can simply paste into the blog with the URL of my audio files. I can convert audio to a number of different formats, so it does not have to be mp3.
Thanks in advance.
-Andy
-
This looks promising
http://dee3-blog.blogspot.com/2010/12/googles-mp3-player-with-html5-fallback.html (http://dee3-blog.blogspot.com/2010/12/googles-mp3-player-with-html5-fallback.html)
-
I think the limitation with the iPad is that it's pseudo browser does to run Flash.
-
I think the limitation with the iPad is that it's pseudo browser does to run Flash.
Ohhhh... the Apple no-Flash v. Android Flash issue again...
-
This looks promising
http://dee3-blog.blogspot.com/2010/12/googles-mp3-player-with-html5-fallback.html (http://dee3-blog.blogspot.com/2010/12/googles-mp3-player-with-html5-fallback.html)
Great find, Lester -- I just posted a tune using this player, and it does seem to work on the iPad!
-
<a href="audio_file.ogg">Name of tune</a>
Sorry I couldn't bring myself to put an mp3 file in the example :P
No, I'm not being trite. The point is, if you insist on trying to use a "snazzy embedded player" on your website then please also put in a direct link to the file as well. It's dead easy, does no harm and will help a lot of people.
-
My suggestion would be to use a jQuery plugin, for example jPlayer (http://www.jplayer.org/). There's a demo on the website, so you could test it using the iPad.
http://www.jplayer.org/latest/demos/ (http://www.jplayer.org/latest/demos/)
Shadowbox also works with audio.
http://shadowbox-js.com/ (http://shadowbox-js.com/)
-
I use the following markup and it seems to run on all PC's I've managed to test. But not on my Android.
<div>
<object width="300" height="24">
<param name="src" value="http://URL.mp3">
<param name="autoplay" value="false">
<param name="controller" value="true">
<param name="bgcolor" value="#FFFFFF">
<embed src="http://URL.mp3"
autostart="false" loop="false" width="300" height="24"
controller="true" bgcolor="#F0E68C">
</embed>
</object> - <i>"Family Song"</i> © Dolly May & Fred Ryall
<p>If you don't have Quicktime (or use Windows 7) - you can
<a href="http://URL.mp3" title="download track">simply download the MP3 here</a>
</p>
</div>
Filthy, isn't it? Basically browsers aren't set up for music - we await HTML 5.
Everybody repeat, it's just a MIME type (sorry ... "Internet media type" these days). Properly set up web servers know what to do and so do browsers.
-
Is this a question of MIME over matter? (Beware of geeks bearing gifs) :D
-
Everybody repeat, it's just a MIME type (sorry ... "Internet media type" these days). Properly set up web servers know what to do and so do browsers.
Andrew,
I have to admit, I don't understand either of your posts on this thread. Can you explain? (I'm serious.) As to your first post, I don't understand -- it seems to me that embedded players are the best way for someone to simply hear the tune that is being posted. When I follow up on someone else's tune or theme of the month post, I don't want to download a file -- I just want to listen to it via my browser. I guess someone could always view the html of my blog post and find the URL of the file.
As to your second post, I seriously have no clue what you are talking about.
Chris, if you follow Lester's link, it gives the code for a simple player, and if someone views the page via iPad it (apparently) switches to html 5? I don't understand how it works but in my test post, I could listen to the tune via Firefox on my PC and via Safari on my iPad, so it perfectly fits my request in the original post.
-Andy
-
Everybody repeat, it's just a MIME type (sorry ... "Internet media type" these days). Properly set up web servers know what to do and so do browsers.
Andrew,
I have to admit, I don't understand either of your posts on this thread. Can you explain? (I'm serious.) As to your first post, I don't understand -- it seems to me that embedded players are the best way for someone to simply hear the tune that is being posted. When I follow up on someone else's tune or theme of the month post, I don't want to download a file -- I just want to listen to it via my browser. I guess someone could always view the html of my blog post and find the URL of the file.
As to your second post, I seriously have no clue what you are talking about.
Chris, if you follow Lester's link, it gives the code for a simple player, and if someone views the page via iPad it (apparently) switches to html 5? I don't understand how it works but in my test post, I could listen to the tune via Firefox on my PC and via Safari on my iPad, so it perfectly fits my request in the original post.
-Andy
That's OK ;)
I thought that the first post was straightforward (what do I know, eh?), the second was more of a side-comment aimed at Chis I suppose.
Sooooo, taking a few steps back you may see where I'm coming from.
As I think you already know, HTML is a markup language for structuring web pages. It is meant to be device and software agnostic. ie. it does not dictate what specific software or device a viewer must use.
You can use CSS (Cascading Style Sheets) to style a web page with different fonts, colours etc. but the web page still works and is (should be!) readable just using the HTML alone. The baseline for accessibility is the HTML standard maintained by the World Wide Web Consortium (W3C).
What does this mean? It means universal standards and universal access. It means people using unusual (but compliant) browsers, blind people, users of text browsers, unknown devices, people in the future or whatever will be able to use the HTML markup to display a web page in whatever way they need.
Placing complicated embedded media players using proprietary software into web pages breaks this universal accessibility. You are are doing such things as dictating the specific software that people must use, mandating particular graphical web browsers or using complicated scripting that fails on many web browsers and devices.
On top of all that, you are also laying yourself open to all sorts of other problems. Proprietary software stops being supported (eg. Flash on mobile devices), goes out of fashion or reveals serious security breaches for some users. Many users will simply refuse to use it at all. All these things that are much, much less likely (in fact pretty unlikely) with straightforward HTML.
When complicated scripted "solutions" are placed on web pages it is good practice for them to gracefully degrade. What this means in this case is that if you want to place an embedded player on your web page, then you should place a simple HTML link to the same media content on the page.
This means that everyone has access.
PS. Yes, accessibility is not universally adhered to. Many, many websites do not bother or are short-sited in many ways. However, universal accessibility is a thing that is worth fighting to retain . It's not an ideal imposed as an afterthought on the World Wide Web, it was designed at it's very heart from the beginning. We've been gaining ground again over recent years, lets keep it up 8)
-
and adding a bit ...
Playing a media file is a function of the software and operating system that you use. I can play a simply linked media file very, very easily. No need to download it all first or anything like that, I can follow the link and choose to play it (or download it to my home partition if I like).
I'm not being dogmatic here, of course people will try things out, but a lot of time (and grief) seems to be spent inventing complicated and flaky solutions for what are very simple problems.
-
Andrew,
Thank you for the explanations, very helpful. I didn't actually realize what I was doing when I used an audio player that was apparently proprietary -- now the picture is clearer (to some extent).
-Andy
-
When complicated scripted "solutions" are placed on web pages it is good practice for them to gracefully degrade. What this means in this case is that if you want to place an embedded player on your web page, then you should place a simple HTML link to the same media content on the page.
This means that everyone has access.
Just visited http://www.andrew-wigglesworth.co.uk/music/music-recordings.html (http://www.andrew-wigglesworth.co.uk/music/music-recordings.html) and it has links that play tunes on an embedded player but no "simple HTML link to the same media content on the page". :o
-
Just visited http://www.andrew-wigglesworth.co.uk/music/music-recordings.html (http://www.andrew-wigglesworth.co.uk/music/music-recordings.html) and it has links that play tunes on an embedded player but no "simple HTML link to the same media content on the page". :o
I tried to listen to the tunes but they won't play on my iPad.
-
I thought that the first post was straightforward (what do I know, eh?), the second was more of a side-comment aimed at Chis I suppose.
Ouch, but then I do set myself up sometimes (:) I'm presently trying to make a universal chord/scale finding website, but the utter lack of standardisation for sound, and absence of methods to scripting means that will have to stay graphical.
HTML5's <audio> tag is long overdue and I hope I'll be able to get it to play "Ab,4" in midi mode from a script - quite independently of platform. i think Apple have a lot of responsibility for driving a coach and horses through the standards W3C have worked to introduce, though Microsoft were pretty cavalier in their day.
-
When complicated scripted "solutions" are placed on web pages it is good practice for them to gracefully degrade. What this means in this case is that if you want to place an embedded player on your web page, then you should place a simple HTML link to the same media content on the page.
This means that everyone has access.
Just visited http://www.andrew-wigglesworth.co.uk/music/music-recordings.html (http://www.andrew-wigglesworth.co.uk/music/music-recordings.html) and it has links that play tunes on an embedded player but no "simple HTML link to the same media content on the page". :o
Erm, there is no embedded player, those are just links to Ogg-Vorbis audio files. I suspect that you're using Firefox which is simply playing them for you ;)
-
I thought that the first post was straightforward (what do I know, eh?), the second was more of a side-comment aimed at Chis I suppose.
Ouch, but then I do set myself up sometimes (:) I'm presently trying to make a universal chord/scale finding website, but the utter lack of standardisation for sound, and absence of methods to scripting means that will have to stay graphical.
HTML5's <audio> tag is long overdue and I hope I'll be able to get it to play "Ab,4" in midi mode from a script - quite independently of platform. i think Apple have a lot of responsibility for driving a coach and horses through the standards W3C have worked to introduce, though Microsoft were pretty cavalier in their day.
Oh heck, it wasn't meant to be aimed in a painful way :-\
Yes, the audio tag is one of the many wonders that HTML5 will bring in and another yes to the fact that Apple and Microsoft have both tried to scupper the media formats. At least we've had Mozilla and Google fighting on the other side.
I feel your frustration, things may be simple but they're nowhere near ideal.
-
I have found soundcloud files embed nicely and playback nicely on most platforms - ie:
http://thewholenote.net/songs/3romantic.html
Reed
-
So can we embed one here? ???