WordPress.org

Ready to get started?Download WordPress

Forums

Using embed/object tags does'nt work with 2.0? (5 posts)

  1. justex07
    Member
    Posted 8 years ago #

    When/if I put embed/object tags into my blog, for music or video, my CSS goes all wacky. Just look and see for yourself, http://www.itsjustjustin.com It crazy looking.

    Then go to http://itsjustjustin.com/index.php?paged=2 and see how normal that page looks, well normal to me at least.

    Any ideas?

  2. justex07
    Member
    Posted 8 years ago #

    ideas?

  3. mfiorentino
    Member
    Posted 8 years ago #

    It seems (for me anyway) like Worpress forces a br or p straight after the object-tag, causing parameters to be thrown out of order and the site not to be valid XHTML. It also forces the parameters to be on one line each, even though I've tried to stack the object & parameter tags together without any line breaks in the WP editor. Don't know how to solve this. Perhaps a javascript that writes out the code, but that would be too darn cumbersome...

  4. mfiorentino
    Member
    Posted 8 years ago #

    And, I just tested the javascript way. It still forces a <br /> after the <object> tag and all kind of things. I guess the only option is an <object> tag without any parameters, even though this is undoable...

  5. Samuel Wood (Otto)
    Tech Ninja
    Posted 8 years ago #

    I had no problem with object tags, but embed gets stripped out. I think it's a TinyMCE thing. I may have to write a plugin to fix this part of TinyMCE to get it to work properly.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags