[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/video/theme/ -> video-play-divx.tpl.php (source)

   1  <?php
   2  /*
   3   * @file
   4   * Theme file to handle divx output.
   5   *
   6   * Variables passed.
   7   * $video is the video object.
   8   * $node is the node object.
   9   *
  10   * http://labs.divx.com/Webplayer
  11   * http://labs.divx.com/WebPlayerCodeGenerator
  12   *
  13   */
  14  ?>
  15  
  16  <object classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616" width="<?php print $video->player_width; ?>" height="<?php print $video->player_height; ?>" codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab">
  17    <param name="src" value="<?php print $video->files->{$video->player}->url; ?>" />
  18    <param value="<?php print $video->autoplay ? 'true' : 'false'; ?>" name="autoPlay">
  19    <param name="pluginspage" value="http://go.divx.com/plugin/download/" />
  20    <param value="none" name="custommode">
  21    <param name="previewImage" value="<?php print $video->thumbnail->url; ?>" />
  22    <object class="video-object" type="video/divx" data="<?php print $video->files->{$video->player}->url; ?>" previewImage="<?php print $video->thumbnail->url; ?>" width="<?php print $video->player_width; ?>" height="<?php print $video->player_height; ?>" autoplay="<?php print $video->autoplay ? 'true' : 'false'; ?>" mode="large" custommode="none">
  23      <?php print t('No video?  Get the DivX Web Player !plugin', array('!plugin' => l(t('Plugin'), 'http://go.divx.com/plugin/download/'))); ?>
  24    </object>
  25  </object>


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7