i'm only using myspace video on one site, but it recently stopped working. looking at the embed code myspace now provides, it looks different from what emfield is creating.

here's what i'm now using in theme_video_cck_myspace_flash() with success:

    $output .= '<object height="'. $height .'px" width="'. $width .'px" >
      <param name="allowFullScreen" value="true"/>
      <param name="wmod" value="transparent"/>
      <param name="movie" value="http://mediaservices.myspace.com/services/media/embed.aspx/m='. $embed .',t=1,mt=video" />
      <param name="FlashVars" value="m=$embed&type=video" />
      <embed src="http://mediaservices.myspace.com/services/media/embed.aspx/m='. $embed .',t=1,mt=video" width="'. $width .'" height="'. $height .'" allowFullScreen="true" type="application/x-shockwave-flash" wmode="transparent"></embed></object>';

Comments

rokit88’s picture

Agreed, their player used to be located at lads.myspace.com/videos/vplayer.swf.

flaviovs’s picture

Priority: Normal » Critical

I confirm that MySpace videos are not working anymore, and manually patching myspace.inc with the code above fixed the issue.

NB: tested on 6.x-1.19 but I guess that this will fix all versions.

Also changed priority to critical since this issue makes the module unusable.

sadist’s picture

Is this already being in 6.x-2.x-dev? I tried but myspace video in my site still doesn't work.

ball.in.th’s picture

the code above fixed my problem for 6.x-1.20 too.

ball.in.th’s picture

The code in the issue has wmod and one $embed wrong. The whole thing should be:

    $output .= '<object height="'. $height .'px" width="'. $width .'px" >
      <param name="allowFullScreen" value="true"/>
      <param name="wmode" value="transparent"/>
      <param name="movie" value="http://mediaservices.myspace.com/services/media/embed.aspx/m='. $embed .',t=1,mt=video" />
      <embed src="http://mediaservices.myspace.com/services/media/embed.aspx/m='. $embed .',t=1,mt=video" width="'. $width .'" height="'. $height .'" allowFullScreen="true" type="application/x-shockwave-flash" wmode="transparent"></embed></object>';
aaron’s picture

Status: Active » Fixed

thanks @gcassie and @ball.in.th! i commited #5 sight unseen, as i don't have the time to troubleshoot every single little provider, so i trust that it's good. please re-open if there's still a problem.

aaron’s picture

Version: 5.x-1.8 » 6.x-1.x-dev

applied to d6 & d5 branches.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.