Jump to content

Recent Comments

- - - - -

Adding Objects to post



4: Adsense

I just wanted to see if I can add an object tag into my journal.


I've been able to do it by clicking the 'insert media' button,
but for some reason the .swf is showing up insanely small.



Jul 29 2011 11:30 PM
Here's what's goin on under the hood:
<embed src="$1.swf" {width} {height} play="true" loop="true" quality="best" type="application/x-shockwave-flash" wmode="transparent" pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" />
No idea what the {width} and {height} attributes are for - the "$1" is the match replacement from the URL you give to the media tag, but that's the only parameters sent in as far as I can tell
Jul 30 2011 01:35 PM
What's strange is it seems to be working now... and I didn't do anything to fix it.

Thanks :-)

Note: GameDev.net moderates comments.