You are here

function video_cck_yahoomusic_embedded_link in Embedded Media Field 5

hook video_cck_PROVIDER_embedded_link($video_code) returns a link to view the video at the provider's site

Parameters

$video_code: the string containing the video to watch @return a string containing the URL to view the video at the original provider's site

File

contrib/video_cck/providers/yahoomusic.inc, line 200
This include processes Yahoo Music API media files for use by emfield.module.

Code

function video_cck_yahoomusic_embedded_link($video_code) {
  $locale = _video_cck_yahoomusic_locale_lookup();
  return 'http://new.' . $locale . '.music.yahoo.com/videos/--' . $video_code;
}