WordPress.org

Ready to get started?Download WordPress

Forums

embed/object tag compatibility (11 posts)

  1. justex07
    Member
    Posted 8 years ago #

    I am reposting this problem, perhaps a different title will make more sense and capture more attention, ie any.

    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://itsjustjustin.com/?p=749 It crazy looking.

    Then go to http://itsjustjustin.com/?p=756 and see how normal that page looks, well normal to me at least.

    Any ideas?

  2. justex07
    Member
    Posted 8 years ago #

    maybe i should add that i tried several themes and each theme had the same problem. this started with the upgrading from 1.5

  3. UserFriendly
    Member
    Posted 8 years ago #

    You've got some code problems there. Making sure you're using valid code may help. When checking your CSS for that page here: http://jigsaw.w3.org/css-validator/ I get "The element type "object" must be terminated by the matching end-tag "</object>"."

    You've got several problems with your html. Some are very easy to fix, some might take a bit of detective work.

    http://validator.w3.org/check?uri=http://itsjustjustin.com/?p=749

    Richard

  4. cregy
    Member
    Posted 8 years ago #

    Hi

    I have the same problem with a flash movie. I have opened and closed the object and my site validates.

    Check it out at:
    http://www.lostwithiel.org.uk/snow-flash-show/

    Any ideas please?

    Thanks

    Rich

  5. justex07
    Member
    Posted 8 years ago #

    i have used the same code for months with no problems. Most of the things that the validator said were wrong are infact, not wrong. Missing > or < that really are there, such as parenthesis around height and width, it says some are missing but they are all there in my code. i have some errors with javascript but it is not my code, it is copy and pasted from gvisit and the google analyzer (through a plugin). i validated my code a while ago and got the seal of approval. validate a page without the music and i get 24 errors, most of which are connected to WP 2.0's picture attachment or gvisit's code, plus some random stuff since updating to 2.0.

    I am going to add the "missing" < and > where it say they should be, though I don't believe they have to be there, never needed them before, also other ppl use my code (meetjustin.com) and have no issues...

    Thanks for the reply and ideas. Maybe i was cheap with my HTML but it sure worked before 2.0... hmmmm

  6. cregy
    Member
    Posted 8 years ago #

    Bump on this one just in case people missed my post.

    Please see http://www.lostwithiel.org.uk/snow-flash-show/

    Many thanks.

    Rich

  7. UserFriendly
    Member
    Posted 8 years ago #

    You need to bear in mind that the validator is not intelligent. It's possible that you have a few real errors in your code that is causing it to think there are other errors that don't really exist. I would seriously consider fixing some of the errors - you don't know what other problems they could be causing.

    Start by putting the gvisit script reference between <head profile="http://gmpg.org/xfn/11"> and </head> instead of just above <head profile="http://gmpg.org/xfn/11"> as it is now.

    Richard

  8. justex07
    Member
    Posted 8 years ago #

    I fixed the gvisit and found that almost all the errors were with my music code... though they are'nt actually errors.

    Here is a page that has only 18 errors but they are not real errors either. i'm confused

    http://validator.w3.org/check?uri=http://itsjustjustin.com/?p=766

    I am so lost now.

  9. justex07
    Member
    Posted 8 years ago #

    double posted, oops!

  10. UserFriendly
    Member
    Posted 8 years ago #

    Most of the errors you have are real. Just because your browser is doing a good job of guessing what you meant doesn't mean there aren't errors there.

    I'd recommend you have a look at this page:

    http://www.w3schools.com/xhtml/default.asp

    You could also use a HTML 4.01 Transitional Doctype, but going the XHTML route will improve the quality of your code.

    I've had a deeper look at your code on the page with object tags. What it looks like (from looking at the actual page) is that everything from the object tag is "leaking" outside the post div. It's not like that in your code, but that seems to be how the browser is interpreting it. At the moment I don't know why that would be.

    Richard

  11. Goshua
    Member
    Posted 7 years ago #

    Hey,

    I had the same problem with embed tags for my videos, but heres the solution!

    You just have to turn off the WYSIWYG!

    You can turn off WYSIWYG easily enough - go to your profile, and scroll to the bottom. Take the tick out of the "Use the visual rich editor when writing" and click "Update Profile".

    Enjoy WP 2.0!

    Goshua

Topic Closed

This topic has been closed to new replies.

About this Topic