Reply to Re: embed a swf without setting the dimensions?

Your name:

Reply:


Posted by Benjamin Niemann on 03/25/07 12:04

Ciaran wrote:

>
>> Not in "pure" HTML. The flash movie would scale to whatever default size
>> the browser would use, and I don't think any browsers cares to guess the
>> right size of the movie.
>> It is possible to extract the suggested size (the one that the movie
>> author set in the authoring tool) and the set the appropriate WIDTH and
>> HEIGHT attributes of the OBJECT (or EMBED, if you don't care about
>> validation) element. But this requires server-side code, e.g. PHP.
>> If you can use PHP, I could dig up some old code that did this job.
>
> Cheers for the reply! I know PHP so hook me up if you can!! It'd be
> much appreciated!

grep'ing through piles of ancient code, I couldn't find anything. Now I
think that my memory is confusing me a bit and that what I once did was
porting the relevant bits and pieces from PHP to C#... mmm... long ago...

May be, you could use this one:
<http://phpclasses.linuxpourtous.com/browse/package/1653.html>
Google for "swfheader.class.php" and you should find a version that does not
require a registration to download.


HTH

--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/

[Back to original 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

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