You are here

function EMMODULE_PROVIDER_embedded_link in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 6 hooks/emfield.php \EMMODULE_PROVIDER_embedded_link()
  2. 6.2 hooks/emfield.php \EMMODULE_PROVIDER_embedded_link()

Returns a link to view the original media at the provider's site.

Parameters

$code: The unique identifier for the third party media. @param $data The original data array collected for the media. @return A string containing the URL to view the original media.

File

hooks/emfield.php, line 126
Document various hooks for Embedded Media Field.

Code

function EMMODULE_PROVIDER_embedded_link($code, $data = array()) {
  return 'http://example.com/video/' . $code;
}