You are here: Embed tags for objects in HTML for PHP « PHP Programming Language « IT news, forums, messages
Embed tags for objects in HTML for PHP

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация