PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Dave Smith   PHP Convert Video to GIF   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example Usage
Class: PHP Convert Video to GIF
Convert a video file to animated GIF with giflayer
Author: By
Last change:
Date: 7 years ago
Size: 776 bytes


Class file image Download
example usage
gifLayer ver 1.0

//disable time limit

//include gifLayer class

//Instantiate class with video url, start and end time in seconds
$gifLayer = new gifLayer('',33,34);

//display html image tag for converted video

The following demonstrates the download and display from captured binary
of the converted video. To use, uncomment the captureGif method to capture
the binary and then uncomment either the downloadCapture or displayCapture
methods, depending on which you wish to preform.