|
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]
|