Widgets and MySpace

One of our developers here at the Giving Group has recently knocked out a new version of our sponsorship widget. It’s basically a miniature Flash version of our full sponsorship page.

A common complaint we’ve had is that these widgets don’t work on MySpace, and after a bit of digging it seems that MySpace is rewriting the object tag’s allowNetworking attribute to change the value to internal. This tells Flash not to allow navigation to other domains, so when users click on the “Donate” button they go nowhere, which is a problem.

Given that MySpace also blocks Javascript this somewhat limits your options for navigating a MySpace user to your site.

Redirection

The first option for enabling this is to use MySpace’s own redirection system to bounce a request on to an external site, but considering their clampdown on other methods of external hyperlinking I suspect that this would not last long if they saw it being used heavily.

In case you do want to try your luck, this redirect URL seems to work for me: http://profile.myspace.com/index.cfm?fuseaction=cms.goto&_u=

To use it, URL Encode the URL you’d like to link to, and add it to the end of the URL above, for example: http://profile.myspace.com/index.cfm?fuseaction=cms.goto&_u=http%3a%2f%2fwww.google.com

Floating image

The second option for navigating users is to use CSS to carefully float a hyperlinked image that looks like part of your widget over your Flash object. This makes it seem like the Flash link is working but in fact it’s just a regular hyperlink. An example of that in action can be seen on the page TN links to in his comment below.

[Edited a little due to stupidity]

Advertisements

3 Responses to Widgets and MySpace

  1. TN says:

    so one thing i don’t get:
    how is it that *some* external links still work in profiles?

    For example, look at http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=1001

    and try to click on the ‘DEMAND IT’ button about 3scrolls down on the left hand side.
    this puts you on to http://eventful.com/performers/P0-001-000004076-0/demand?from_sticker=300x325_black

    what is up with that?!

  2. richmarr says:

    Haha… turns out I was talking total crap. I got the wrong end of a conversation with Ro. It looks like the second solution we looked at works after all. I’ll edit the above to include that.

  3. Rob McCardle says:

    I had a little wrangle with making Fash clickthrough from MySpace and found a solution which I put up on my blog http://www.robmccardle.com/wp/ 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: