i spend the best part of yesterday working on my web 2.0 credibility. sites like myspace and soundcloud are nice to keep your fans informed, but it's quite a drag to keep everything up to date everywhere all the time. ideally, you would just have to update one site and have the update automagically mirrored on all other sites. so that's why i tried to replace the default myspace music player with soundcloud's. while in theory this should be easy, it made me feel like a hacker. delivery pizza and all. but the result makes me proud.
you will need: a myspace band page and a soundcloud account with some tracks on it. a myspace page is quite common to have, but soundcloud is a rather new phenomenon. if you need an introduction, check out one of my previous posts in which i talked about the advantages and disadvantages of soundcloud. most problems have been overcome since then, so soundcloud could be a winner. even if you don't intend to use soundcloud to manage your contacts, you could just use their superior audio player and make it available on other sites by means of the soundcloud audio player widget.
the resulting minz myspace page
to insert that widget into myspace, first create a soundcloud set with the tracks you want on myspace, click 'share' and grab the code. now insert that code into the 'bio' section of the 'musician details' on your myspace profile and you'll have a page with both the default myspace player and the soundcloud player. if, like me, you want to get rid of the myspace player, insert the following code as well:
object {display: none;} div.player{display: block; height: 228px; width: 400px; position: absolute; op: 230px;} div.scplayer object {display: block; height: 228px; width: 400px;}
</style>
unfortunately, this code also removes the freshly added soundcloud player. so you also need to insert <div class="scplayer"> before the soundcloud code, and </div> after it. finally, you can set the width and height of the player to taste by adjusting them in the code above.
the results seem to work fine in both firefox and ie7, and on both windows and mac. of course, this might not work on your own myspace page, as there are too many variables. but probably, with a bit of fiddling, you can get this to work. if you like it quick and dirty, soundcloud also offers a way to easily share your soundcloud audio on myspace. it's as quick as clicking a link. the dirty part, though, is that it doesn't remove the default myspace player.
so there you go: an easy to update, nice looking and high-quality audio player on your myspace. and with a free soundcloud account, you can add up to 10 tracks, each with their own 'buy' button. so you can remove that beatport player from your myspace, too.
as you can see on my myspace, i've also added springwidget's rss reader, to feed my blog to it. getting it to work was a bit tricky, but very similar to the soundcloud widget. and now that i have it all set up, i can feed my blog and audio to every social networking site out there and keep everything up to date easily. or at least, that's the theory.
update: oliver chesler of 'wire to the ear' pointed out to me that safari for mac still shows the myspace player. the reason is a bug in safari that can't be worked around. it's a shame, but given the fact that only 3% of the browsing population currently uses safari, you shouldn't worry too much about it. i know i don't.


and the thx for the info
visitour - 28/04/2009