"It?" The head tag?<div><br></div><div>Is this for form's sake, or is there</div><div>some functionality involved?</div><div><br></div><div>Anyone have any thoughts as to</div><div>why the large mp3 file doesn't </div>
<div>seem to work? It works in Amarok,</div><div>so the file is good.</div><div><br></div><div> -- Bob</div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Thu, Nov 17, 2011 at 5:21 PM, Topher <span dir="ltr"><<a href="mailto:topher@codeventure.net">topher@codeventure.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Thu, 17 Nov 2011, Bob Kline wrote:<br>
<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That's my Linux and browser setup as well. Re "all the malformations," I'm unclear as to why one uses html if the tags are for html5? <br>
<br>
When you say "worked fine," is that with the test file I was using? If so, there's still a kink.<br>
<br>
I have no idea why the <head> tag is needed here.<br>
</blockquote>
<br></div>
Because the html5 doctype you're calling requires it. It's part of the standard markup for any html5 page.<div class="HOEnZb"><div class="adm"><div id="q_133b3b224e0561cc_3" class="ajR h4"><div class="ajT"></div>
</div></div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
-- Bob<br>
<br>
<br>
<br>
On Thu, Nov 17, 2011 at 4:45 PM, Ben Rousch <<a href="mailto:brousch@gmail.com" target="_blank">brousch@gmail.com</a>> wrote:<br>
Despite all of the malformations, the original code actually<br>
worked fine on my Google Chrome, Ubuntu 11.10.<br>
<br>
<br>
On Thu, Nov 17, 2011 at 4:43 PM, Topher <<a href="mailto:topher@codeventure.net" target="_blank">topher@codeventure.net</a>><br>
wrote:<br>
On 11/17/2011 04:27 PM, Bob Kline wrote:<br>
> <!DOCTYPE html5><br>
> <body><br>
> <audio controls="controls"><br>
> <source src="kk.mp3" type="audio/mp3" /><br>
> Your browser does not support the audio tag.<br>
> </audio><br>
> </body><br>
> </html5><br>
><br>
><br>
> The file is called xx.html5<br>
<br>
I'm assuming your web server knows how to deal with .html5<br>
files.<br>
<br>
In your code sample above there's no <head></head>, and there's<br>
no<br>
<html></html>. This would cause the file to not be valid html,<br>
and<br>
could easily make the browser freak out. Here's the proper<br>
code:<br>
<br>
<br>
<!DOCTYPE html5><br>
<html><br>
<head><br>
<title>Bob's awesome audio</title><br>
</head><br>
<body><br>
<audio controls="controls"><br>
<source src="kk.mp3" type="audio/mp3" /><br>
Your browser does not support the audio<br>
tag.<br>
</audio><br>
</body><br>
</html><br>
<br>
Indenting is not necessary, I just did it for clarity.<br>
<br>
Keep in mind that Firefox won't play mp3's and I don't think IE<br>
will<br>
play ogg. That's why they made it possible, and suggest, that<br>
you put<br>
source tags for both audio formats. The browser plays the one<br>
it can.<br>
<br>
All that said, you might want to check out<br>
<a href="http://mediaelementjs.com/" target="_blank">http://mediaelementjs.com/</a><br>
<br>
It's a small javascript app that detects browsers nicely and<br>
makes an<br>
html5 player with the proper file format and falls back to flash<br>
when<br>
the browser can't do html5.<br>
<br>
--<br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<br>
<br>
______________________________<u></u>_________________<br>
grlug mailing list<br>
<a href="mailto:grlug@grlug.org" target="_blank">grlug@grlug.org</a><br>
<a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-<u></u>bin/mailman/listinfo/grlug</a><br>
<br>
<br>
<br>
<br>
--<br>
Ben Rousch<br>
<a href="mailto:brousch@gmail.com" target="_blank">brousch@gmail.com</a><br>
<a href="http://clusterbleep.net/" target="_blank">http://clusterbleep.net/</a><br>
<br>
--<br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<br>
<br>
______________________________<u></u>_________________<br>
grlug mailing list<br>
<a href="mailto:grlug@grlug.org" target="_blank">grlug@grlug.org</a><br>
<a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-<u></u>bin/mailman/listinfo/grlug</a><br>
<br>
<br>
<br>
--<br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<br>
<br>
</blockquote>
<br>
-- <br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<br>
<br>
______________________________<u></u>_________________<br>
grlug mailing list<br>
<a href="mailto:grlug@grlug.org" target="_blank">grlug@grlug.org</a><br>
<a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-<u></u>bin/mailman/listinfo/grlug</a></div></div></blockquote></div><br></div>
<br />--
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.