You are here

function theme_video_format_play in Video 6

Same name and namespace in other branches
  1. 5 video.module \theme_video_format_play()
  2. 6.2 video.module \theme_video_format_play()

Cut down on redundant link text

Parameters

$url: string URL to link to

$title: string title of link to show on mouseover

$link_text: string text of the link

Return value

string HTML link

10 theme calls to theme_video_format_play()
theme_video_google_play in types/video_google/video_google.module
Play videos hosted on video.google.com Allows users to host videos on video.google.com and then use the video ID to post it in the module.
theme_video_play_dcr in includes/common.inc
Play Director .dcr/.dir files.
theme_video_play_divx in includes/common.inc
Play videos from in DivX format
theme_video_play_flash in includes/common.inc
Play videos from in FLV Flash video format
theme_video_play_ogg_theora in includes/common.inc
Play Ogg Theora videos with Cortado Applet

... See full list

File

./video.module, line 1093
video.module

Code

function theme_video_format_play($output, $url, $title, $link_text) {
  $output = "\n<div id=\"video-player\">\n" . $output;
  $output .= "<p>\n" . t('Problems viewing videos?');
  $output .= "<br />\n";
  $output .= l($link_text, $url, array(
    'attributes' => array(
      'title' => $title,
    ),
    'absolute' => TRUE,
  ));
  return $output . "\n</p> \n </div>\n";
}