PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Virgilio lino   w3v   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: example of usage you need videos to try
Class: w3v
Embed a video player in Web pages
Author: By
Last change:
Date: 13 years ago
Size: 707 bytes


Class file image Download
//this example loads every video on video directory
$d = dir("video/");
   while (
false !== ($entry = $d->read())) {
$entry!='.'&&$entry!='..') {
$w3v[]=new w3v('video'.$idx,$d->path.$entry);
   <h1>This is an example of w3v library, it loads every file on video directory</h1>
     <?php for($i=0;$i<count($w3v);$i++) { ?>
    <?php } ?>
 <?php for($i=0;$i<count($w3v);$i++)echo $w3v[$i]->getScript(); ?>
<script type="text/javascript">
     <?php for($i=0;$i<count($w3v);$i++)echo $w3v[$i]->load(); ?>