function emvideo_tudou_embedded_link in Embedded Media Field 6
Same name and namespace in other branches
- 6.3 contrib/emvideo/providers/tudou.inc \emvideo_tudou_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/ tudou.inc, line 74 - Provide support for the Tudou provider to the emfield.module.
Code
function emvideo_tudou_embedded_link($video_code) {
return 'http://www.tudou.com/programs/view/' . $video_code;
}