|
Posted by Jerry Stuckle on 07/26/06 18:03
Sandman wrote:
> 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,
I haven't seen anything like that. But it sounds like a neat idea. If
someone else has come up with it, I'd like to know about it.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|