<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d33662887\x26blogName\x3dGeography+and+all+that+Jazz\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dSILVER\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://geographyjazz.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://geographyjazz.blogspot.com/\x26vt\x3d-3273195495134634114', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Friday, June 29, 2007

How to embed mp3 files in a blog.
This is a response to a recent posting on the SLN Forum, which made me wonder how it could be done. A quick Google search led me to the Google Operating System weblog, which provided a solution.
I had a quick look at a few places for mp3 files relevant to Geography, and my first thought was to use one off Rob Chambers GeoBytes site.
So for a few days only, or until Rob tells me to get rid of the link ! This will connect through to the first one of Rob's Coastal podcasts: Energy at the Coast.
Your mp3 file could also be saved on a website, or a VLE or a Ning.

The code from the site was then added below to create (fingers crossed) a media player...

and, well flip me, it worked !

Change the external URL to the address of the particular file you want to play and that seems to work fine !
Another step forward !

Keep an eye out for the new podcasts shortly to appear on GeographyPages.

Labels: ,


Post a Comment

<< Home