I would like to use SWFObject, but where do I put the PHP code described in the example in the SWF Embed Handbook Page? I thought maybe I put that in the content of the node, but have been told I shouldn't do that. If I shouldn't put it there, then where should I put it?

Comments

yelvington’s picture

This may be the wrong solution, unless your intent is to write a Drupal module. Are you simply trying to embed Flash objects in text?

zenthoef’s picture

I don't think I'd mind writing a module, but that is definitely not my intent. I am simply trying to embed flash objects in text.

I tried https://drupal.org/node/106463, but every game must be the same size using that module. I like swfembed because it looks like it has the flexibility to size each game individually. Maybe there is some other module that will let me control the size of my flash object, but I've been looking, and I'm not sure what that would be. Do you have any idea of what module has that capability off the top of your head? If not, I will keep looking or develop a module!

Also, if I were to make a module to handle this, could I input items like the swf file name, height and width, and then get out the HTML code for the swf object?

Thanks for your helpful reply.