Adding Objects to post

Published July 24, 2011
Advertisement
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.

[media]http://www.mathjong.com/flash/Mathjong.swf[/media]

[media]http://www.wordmahjong.com/flash/WordMahjong.swf[/media]
1 likes 2 comments

Comments

Gaiiden
Here's what's goin on under the hood:
[code]<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" />[/code]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
July 30, 2011 05:30 AM
Battagline
What's strange is it seems to be working now... and I didn't do anything to fix it.

Thanks :-)
July 30, 2011 07:35 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement