You are here

public function PHPVideoToolkit::setGifLoops in Video 7

Same name and namespace in other branches
  1. 7.2 libraries/phpvideotoolkit/phpvideotoolkit.php5.php \PHPVideoToolkit::setGifLoops()

* Sets the amount of time an animated gif output will loop * * @access public *

Parameters

integer $loop_count If false the gif will not loop, if 0 it will loop endlessly, any other number it will loop that amount.:

File

libraries/phpvideotoolkit/phpvideotoolkit.php5.php, line 1637

Class

PHPVideoToolkit

Code

public function setGifLoops($loop_count) {
  if ($loop_count !== false) {
    $this
      ->addCommand('-loop_output', $loop_count);
  }
}