View Full Version : Flash on avatars
conan
04-27-2001, 05:37 PM
Can someone help me with this?
fruitsalad
04-28-2001, 01:50 AM
This would be cool I think, there is an issue with having swf in databases though I believe.
on my test board, i did a bit of modification such that when attachment display images is enabled it will open the swf movie attached in the thread.
example: http://66.78.33.178/forum/showthread.php?threadid=1833
Now it does show, however as it is loaded from the mysql, it does not know the width and height of the flash, and as such it defaults to a certain size, i believe this is something to do with the plugin, as i was told by a user that on Mac the attached flash defaults to 5x5, or 50x50 .. one of those..
conan
04-28-2001, 02:58 AM
Yes I can see that being an issue, unless we specidy a fixed width for all swf avatars, like 50x50 or whatever size limit you use.
That way users should make their movies according to that size!
fruitsalad
04-29-2001, 12:52 AM
perhaps if we kept all avatars as files, even the user uploaded ones, then we would not have this problem
conan
04-30-2001, 05:10 AM
By the way, the function GetImagiSize can get the size of a swf file as well ;)
GetImageSize -- Get the size of a GIF, JPEG, PNG or SWF image
from php.net
fruitsalad
04-30-2001, 02:15 PM
oh cool
i'll have to look into vb's uploading avatar code to see if i can get this to work with displaying flash attachments
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.