function video_cck_myspace_extract in Embedded Media Field 5
File
- contrib/
video_cck/ providers/ myspace.inc, line 62
Code
function video_cck_myspace_extract($embed) {
// <a href="http://myspacetv.com/index.cfm?fuseaction=vids.individual&videoid=14686340">What's That Floating In The Water Part 1</a><br><embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=14686340&v=2&type=video" type="application/x-shockwave-flash" width="430" height="346"></embed><br><a href="http://myspacetv.com/index.cfm?fuseaction=vids.addToProfileConfirm&videoid=14686340&title=What's That Floating In The Water Part 1">Add to My Profile</a> | <a href="http://myspacetv.com/index.cfm?fuseaction=vids.home">More Videos</a>
return array(
'@src="myspace\\.com/index.cfm\\?fuseaction=vids\\.individual&videoid=([^&"]+)@i',
'@myspace\\.com/index\\.cfm\\?fuseaction=vids\\.individual&videoid=([^&"]+)@i',
'@src="myspacetv\\.com/index.cfm\\?fuseaction=vids\\.individual&videoid=([^&"]+)"@i',
'@myspacetv\\.com/index\\.cfm\\?fuseaction=vids\\.individual&videoid=([^&"]+)@i',
);
}