You are here

function emvideo_yahoomusic_embedded_link in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emvideo/providers/yahoomusic.inc \emvideo_yahoomusic_embedded_link()

hook emvideo_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/emvideo/providers/yahoomusic.inc, line 207
This include processes Yahoo Music API media files for use by emfield.module.

Code

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