WordPress.org

Ready to get started?Download WordPress

Forums

stop .swf looping (4 posts)

  1. lukeword
    Member
    Posted 6 years ago #

    I have worked out getting a .swf into the sidebar of my wp page. Is it possible to write in some code that will stop it from looping (play once and stop).
    This is the code that has been written into the sidebar:

    -------------------------------------------------------

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="218" height="164" title="suzu">
    <param name="movie" value="http://www.calhouncycleshopcats.com/wp-content/uploads/2008/02/suzu.swf" />
    <param name="quality" value="high" />
    <embed src="http://www.calhouncycleshopcast.com/wp-content/uploads/2008/02/suzu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="218" height="164"></embed>
    </object>

    -------------------------------------------------------

    Thanks,
    Luke

  2. Kafkaesqui

    Posted 6 years ago #

    One (among many) useful articles found out on the web:

    http://www.labnol.org/forums/topic/embed-flash-file-swf-in-blog

    Note the mention of the 'loop' attribute for the embed tag.

  3. lukeword
    Member
    Posted 6 years ago #

    Beautiful!
    Just adding loop-false worked.
    Thank You Very Much.
    Luke

  4. lukeword
    Member
    Posted 6 years ago #

    I'm not quite there yet.
    So by adding loop="false" at the end of my movie script (in the sidebar of my theme) I have stopped the flash movie looping for Firefox (pc & mac), Safari (mac $ pc), BUT in IE7 the movie is still looping.
    If anyone has ideas for me I'd love to hear them.
    Thanks,
    Luke

    website:
    http://www.calhouncycleshopcast.com/

    movie code that is being added to the sidebar (coffee cup theme):
    ----------------------------------------------------
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="185" height="144" title="suzu">
    <param name="movie" value="http://www.calhouncycleshopcast.com/wp-content/uploads/2008/02/suzu.swf" />
    <param name="quality" value="high" />
    <embed src="http://www.calhouncycleshopcast.com/wp-content/uploads/2008/02/suzu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="185" height="144" loop="false"></embed>
    </object>

    ----------------------------------------------------

Topic Closed

This topic has been closed to new replies.

About this Topic