Active
Project:
Media: Video Flotsam
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 May 2011 at 02:31 UTC
Updated:
14 Jun 2011 at 09:53 UTC
Jump to comment: Most recent
Whatever I enter as the "URL or Embed Code" for a MySpace video, Drupal says "You have specified an invalid media URL or embed code."
For example, I've tried...
<object width="425px" height="372px"><param name="wmode" value="transparent" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://player.hulu.com/embed/myspace_player_v002.swf?pid=50108114&embed=true&videoID=107219195" /><embed src="http://player.hulu.com/embed/myspace_player_v002.swf?pid=50108114&embed=true&videoID=107219195" width="425" height="372" allowFullScreen="true" allowScriptAccess="always" type="application/x-shockwave-flash" wmode="transparent"></embed></object>Has the URL format changed so these no longer validate? Or am I doing something wrong?
Comments
Comment #1
Anonymous (not verified) commentedHi !
The emvideo_myspace_extract function located in myspace.inc needs to be updated with the following regular expressions :
'@myspace\.com/[^/]+/videos/video/([0-9]+)@i'
'@myspace\.com/video/[^/]+/[^/]+/([0-9]+)@i'
It may need other ones ;-)