// July 3rd, 2007 // No Comments » // Libraries, Web Stuff
I posted yesterday about the launch of Learning 2.0 here @ EKU Libraries. One hitch that I had was that the podcast I had created at Odeo would selectively play in Internet Explorer. Rather than figure out how to make Internet Explorer play nicely with others, I decided to look for a better solution. I didn’t readily find a post about this on the web, so I feel compelled to share. This post presumes you are using archive.org to host your mp3 files, but I’m sure this could be adapted for other sites. Don’t hold me to that.
Step 1: Find the location of your mp3 file on archive.org
: Upload your audio file to archive.org and view its web page.
: View the source of this page.
: Locate the <embed> tag and copy the entire string after src= (minus the quotaiton marks).
Step 2: Alter this code
<object classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ codebase=”http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0″ width=”400″ height=”15″ id=”xspf_player” align=”middle”><param name=”allowScriptAccess” value=”sameDomain” /><param name=”movie” value=”YOUR STRING FROM ARCHIVE.ORG GOES HERE /><param name=”quality” value=”high” /><param name=”bgcolor” value=”#e6e6e6″ /><embed src=”YOUR STRING FROM ARCHIVE.ORG GOES HERE” quality=”high” bgcolor=”#e6e6e6″ width=”400″ height=”15″ name=”xspf_player” align=”middle” allowScriptAccess=”sameDomain” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer” /></embed></object>
: Paste your string in two places as illustrated above: in the “value” string in the “param name=’movie’” section and in the “src” string in the <embed> tag.
: Add http://archive.org before both pasted strings, since the strings in the code from that web site were relative links. Without the http: string, your browser will look on the current web server for these files, rather than at archive.org.
Step 2A: remove line breaks in the code you just copied
Blogger seems to have trouble sometimes with pasted code. It apparently has to do with its interpreting line breaks as end-of-lines, or perhaps it’s the opposite. To fix this, I pasted the code into a text editor (Windows: notepad; Mac: Textedit or BBedit) and removed all line breaks, making this one long line of text.
Step 3: paste your altered code into your blog post or web page. This works for blogger; haven’t tried it for anything else.
Pages used in this codilicious hackdown: