This might solve some issues, or maybe not... I noticed in your hack that you make reference to "'postbit_attachmentflash". I looked in my postbit templates, and couldn't find one called 'postbit_attachmentflash', but did find one called 'postbit_attachmentswf'. I changed the code to refernce that template instead, and then it worked!
Now, that being said, I have one more question. You think we could alter it somehow to diplay in the correct height/width? Perhaps if you set the height/width in the name of the file somehow (ie 125x300.swf) and then extract that height/ width and display as part of the postbit_attachmentswf template? Dunno... I'm not that familar with PHP, so this is jsut a guess...
|