You are here

function emvideo_myspace_extract in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 6 contrib/emvideo/providers/myspace.inc \emvideo_myspace_extract()

Implements emvideo_PROVIDER_extract().

File

contrib/emvideo/providers/myspace.inc, line 73
This include processes myspace.com media files for use by emfield.module.

Code

function emvideo_myspace_extract($url) {
  return array(
    '@src="myspace\\.com/index.cfm\\?fuseaction=vids\\.individual&videoid=([^&"]+)@i',
    '@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',
    '@myspacetv\\.com/index\\.cfm\\?fuseaction=vids\\.individual&videoid=([^&"]+)@i',
  );
}