This (very very simple) patche makes tavi recognize movie url ending by .mov, .avi, .mpg, ... for automatically call them with the <embed> html tag.

Approriate browser plugin then enable the use of movie player inside a wiki page.

In /lib/defaults.php, add the following lines after $ImgPtn? (about L40)

// $VideoPtn is used in html_url() to detect
// video-links. Usually tied against the end of the text
$VideoPtn = ".mpe?g|.mov|.avi";

In parse/html.php, replace the function html_url() by the code

function html_url($url, $text)
{
  global $ImgPtn;
  if($url == $text
     && preg_match("/($ImgPtn)$/i", $text))
  {
    return "<img src=\"$url\" alt=\"" . basename($url) . "\" />";
  }
    if($url == $text
     && preg_match("/($VideoPtn)$/i", $text))
  {
    // Adapt embed width to your preferred width !	
    return "<embed src=\"$url\" controller=\"true\" autoplay=\"true\" width=\"30%\" alt=\"" . basename($url) . "\" />";
  }
  if (preg_match("/(.*)\?(.*)/", $url, $match))
  {
    $match[2] = preg_replace("/&(amp;amp;|!?amp;)/", '&amp;', $match[2]);
    $url = $match[1] . '?'. $match[2];
  }
  return "<a href=\"$url\">$text</a>";
}