Problem embedding HTML

  • Author
    Posts
  • #586830

    kylebonn
    Member

    I’m trying to add this code for a custom chalkboard from guardian.co.uk, but when I do and hit update on the post, it changes from the image to the link.

    <object classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0″ name=”chalkboard” width=”460″ height=”620″ align=”middle” id=”chalkboard”>
    <param name=”allowScriptAccess” value=”always” />
    <param name=”allowNetworking” value=”all” />
    <param name=”allowFullScreen” value=”false” />
    <param name=”movie” value=”http://www.guardianchalkboards.com/guardianchalkboards_embed.swf?chalkBoardID=8y4y8LRdhBP57A599s2V”/>
    <param name=”movie” value=”http://www.guardianchalkboards.com/guardianchalkboards_embed.swf?chalkBoardID=8y4y8LRdhBP57A599s2V”/>
    <param name=”bgcolor” value=”#FFFFFF” />
    <embed src=”http://www.guardianchalkboards.com/guardianchalkboards_embed.swf?chalkBoardID=8y4y8LRdhBP57A599s2V” swLiveConnect=”true” allowNetworking=”all” quality=”high” bgcolor=”#FFFFFF” width=”460″ height=”620″ name=”chalkboard” align=”middle” allowScriptAccess=”always” allowFullScreen=”false” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer” />
    </object>
    <font size=”1″> by Guardian Chalkboards</font>

    My blog is http://www.fulhamsfinest.com

    The blog I need help with is fulhamsfinest.com.

    #586934

    mspotilas
    Member

    You cannot use html containing embed or object or javascript. But many flash embeds can be turned into a gigya shortcode.

    See http://wpbtips.wordpress.com/2010/07/22/gigya-shortcode-3-widgets/

    This might work in your case:
    [gigya src="http://www.guardianchalkboards.com/guardianchalkboards_embed.swf?chalkBoardID=8y4y8LRdhBP57A599s2V" swLiveConnect="true" allowNetworking="all" quality="high" bgcolor="#FFFFFF" width="460" height="620" name="chalkboard" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"]

    Other option would be to embed the flash via podpod. Instructions talk about video, but the flash does not have to be a video. http://en.support.wordpress.com/videos/vodpod/

    #586936

    kylebonn
    Member

    That code you posted worked perfect. How can I use this trick to add multiple chalkboards?

    #586937

    raincoaster
    Member

    Yes, I see no reason you couldn’t. The Gigya shortcode is amazingly versatile.

    #586939

    kylebonn
    Member

    I mean how do I do it. It’s pretty confusing

    #586940

    raincoaster
    Member

    THere’s no short form. You have to parse the code and follow the instructions here:

    http://wpbtips.wordpress.com/2010/07/22/gigya-shortcode-3-widgets/

    #586941

    kylebonn
    Member

    Well that’s a pain but I guess it will have to do. I’ll try and figure it out

    #586946

    @fulhamsfinest: You can use the same shortcode and simply replace the chalkBoard ID number.

    @mspotilas: Note that this particular object works the way you did it, but in most cases the URL must be up to the questionmark; the part after the questionmark is the flashvars. Plus some of the parameters are unnecessary or don’t work. In all:

    [gigya src="http://www.guardianchalkboards.com/guardianchalkboards_embed.swf" flashvars="chalkBoardID=8y4y8LRdhBP57A599s2V" quality="high" bgcolor="#FFFFFF" width="460" height="620" allowScriptAccess="always" allowFullScreen="false" ]

    #586950

    mspotilas
    Member

    @panaghiotisadam

    I have noticed, that if you have only one flash variable, it works with the src-parameter. If you have more (i.e. there is a &-mark), then you’ll have to use flashvars (even then you could leave one parameter to src and put others in flashvars).

    #586977

    Thanks! I couldn’t know how much you’ve played with this, so I wanted to make sure you haven’t missed this part of the trick (as it’s often crucial, often ignored, and not prominent enough in my post).

The topic ‘Problem embedding HTML’ is closed to new replies.