WordPress.org

Ready to get started?Download WordPress

Forums

Adding flash movie to page :: wysiwyg won't accept embed tag (6 posts)

  1. mgm_03
    Member
    Posted 8 years ago #

    I've got a page in WordPress in which I am trying to embed a flash movie. What defies explanation is why the wysiwyg will not accept the <embed > tags. I copy/paste it in (using the HTML editor as well), but it is not saved to the page. However the <param > tags are saved.

    Has anyone encountered this problem

    <div><object width="375" height="400" align="middle" id="slideshow" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
    <param value="sameDomain" name="allowScriptAccess" />
    <param value="/images/photos/slideshow.swf" name="movie" />
    <param value="high" name="quality" />
    <param value="#ffffff" name="bgcolor" />
    <embed src="/images/photos/slideshow.swf" quality="high" bgcolor="#ffffff" width="375" height="400" name="slideshow" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

    </object></div>

  2. Disable the WYSIWYG editor on your profile.

  3. greendesert
    Member
    Posted 7 years ago #

    Still the embed tag gets stripped out. Is this a "feature"?

  4. 2very
    Member
    Posted 7 years ago #

    Hello greendesert.
    The reason why it gets stripped off is because the embed tag is not allowed anymore and wordpress knows this so it gets rid of it. Try something like this:

    '<object type="application/x-shockwave-flash"
    data="flashmovie-name.swf"
    width="the width" height="the hight">
    <param name="movie"
    value="flashmovie-name.swf" />
    <img src="flashmovie-name.swf"
    width="again whatever width" height="again whatever height" />
    </object>'

    If it doesn't work, let me know either here or leave a comment in my blog at:
    http://www.2very.com
    you can see my flash hearder.swf working properly there, and passed validation as well.

  5. miri
    Member
    Posted 7 years ago #

    That doesn't seem to be working for me. I get a flash of a broken image icon and then nothing.

  6. 2very
    Member
    Posted 7 years ago #

    Hi miri,
    Can I have a look at your website?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags