Posted by Sandman on 07/26/06 12:09
Is there a common library for creating universal <object></object> and
<embed></embed> tags for different kinds of files for PHP?
What I'd like is feed a function with info about the file, and it
would output correct HTML data for embedding that object into the web
page.
like this:
<?
$object = new embed("/path/to/file/movie.3gp");
?>
And, optionally it could take arguments:
<?
$object = new embed("/path/to/file/movie.3gp");
$object->width = 400;
$object->autoplay = false;
$object->output();
?>
Or something like that.
Anyone has any ideas?
--
Sandman[.net]
Navigation:
[Reply to this message]
|